TFi Pivot Reversal V3The Pivot Reversal Study uses pivot points to create a support and resistance level; based on this levels the script creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A "Pyramiding" input allows to configure up to 3 entries; the script enters an additional position if the price falls by a configurable percentage amount (long), the reverse to short orders.
A configurable profit-target and stop-loss is being used to exit an open position.
An optional Moving Average filter can be used to enable only long or short positions.
The script renders a status box at the last bar, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
current position PnL - also background turns green if position is in profit and red if in loss
the percentage distance to the profit-target and stop-loss level
the overall number of wins and losses and the win/loss ratio
the overall profit and loss amount (assuming a quantity of 1)
the net-profit and profit-ratio
For the correct simulation of entry/exit prices, the script contains inputs for a percentage entry and exit slippage.
The study also creates configurable alerts, which follow the exact position of the entry/exit markers. The default alert messages contain trading instruction to execute orders via Alertatron; but the message content can be replaced if configuring the alert in the Tradingview environment.
The script was mainly backtested with crypto-coins, e.g. XBTUSD at 15min timeframe. But the script also works with any other type of security and timeframe.
How to access
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
Full list of alerts
'Alertatron Exit' ... Exit all open positions.
'Alertatron Enter Long' ... Enter long position, w/o stop-loss being used.
'Alertatron Enter Short' ... Enter short position, w/o stop-loss being used.
'Alertatron Enter Long SL' ... Enter long position, w/ stop-loss being used.
'Alertatron Enter Short SL' ... Enter short position, w/ stop-loss being used.
Full list of parameters
"Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot /peak detection.
"Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot /peak detection.
"MA Filter Fast" ... Moving Average filter fast period.
"MA Filter Slow" ... Moving Average filter slow period.
"Profit Target Option" ... Configure the profit-target either as a fix percentage value or an ATR.
"Profit Target " ... Fix percentage profit-target.
"Profit ATR Period" ... ATR profit-target period.
"Profit ATR Factor" ... ATR profit-target factor/multiplier.
"Stop Loss Option" ... Configure the stop-loss either as a fix percentage value or disable the stop-loss completely.
"Stop Loss " ... Fix percentage stop-loss.
"Rebuy Loss " ... Percentage loss of the initial position before script enter a nw position in the same direction.
"Pyramiding" ... Maximum number of positions.
"Show MA Plots" ... Show/hide Moving average plots.
"Slippage Entry " ... Percentage slippage for entering a position.
"Slippage Exit " ... Percentage slippage for exiting a position.
"Statistic Label" ... Defines the position of the statistic label relatively to the last bar in the chart.
"Backtest Start" ... Backtest start time; area outside this timeframe will be grayed out.
"Backtest Stop" ... Backtest stop time; area outside this timeframe will be grayed out.
"Backtest Mode" ... Closes the currently opened position if chart switches to last bar; please only enable if backtesting, otherwise it leads to unwanted alerts.
ابحث في النصوص البرمجية عن "stop loss"
Backtest PREMIUM Suite+ (Plug & Play)Hello traders
I. 💎 SCRIPTS ACCESS AND TRIALS 💎
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. Many video tutorials explaining clearly how all our indicators work are available on our website > guides section.
4. You may also contact me directly for more information
II. 🔎 Backtest PREMIUM Suite+ (Plug & Play) 🔎
2.1 Forewords
This indicator is available only to our PREMIUM 12 months users. YES! I said indicator, and not strategy or backtest for an excellent reason.
We wanted to make it as generic as possible and allow anyone to connect any indicator of his/her choice in a few clicks only.
This is NOT possible (in TradingView) with a strategy/backtest, but only with an indicator - that's why we worked on recoding the whole backtest logic as an indicator.
The PRO edition does not handle any pyramiding/re-entry - as such enters only once per trend by design. This feature is reserved for our PREMIUM users.
2.2 Concept
This is an indicator that I saw on TradingView and was introduced by the @Pinecoders account on TradingView.
I inspired myself from his Backtest Engine to offer a version more adapted to my vision - The benefits of connecting yourself any indicator to our Backtest engine are amazing and huge.
The concept can't be more simple. Imagine using any indicator and connecting to a backtest system in a single click.
You may connect your Algorithm Builder also to this complete backtesting system in a single click.
What's better between paying thousands for each backtest, or connecting yourself your indicators to your backtest with a click?
That was a rhetoric question, but you can still share your answer with me if you want to :)
III. The amazing benefits of our🔌&🕹️ (Plug&Play) system
Issue #1 💲 A BACKTEST SYSTEM IS COSTLY 💲
Hiring a developer to code a custom indicator is costly. For a custom backtest it's even more expensive as those scripts are very often way more complicated.
Now imagine, that now that you see your idea live on a chart, you'll realize you'll have to finance another backtest system, as the one you have is not compatible with your new idea.
Solution #1 💲💲 YOU COULD BE SAVING SOME MONEY 💲💲
just because it won't be needed to hire someone else for each of your trading idea.
We will never guarantee your success on the market, but THIS I stand by it any day any hour.
You can connect any indicator or your choice by updating your indicator slightly and connecting it to our Backtest engine. We send the tutorial for doing it to all our customers.
Issue #2 🕔 IT'S TIME-CONSUMING 🕔
Even if someone is doing all the coding for you, it might require days/weeks depending on your overall trading strategy/idea.
Without even counting the time for you to test/validate the work done and all the back-and-forth to fix all the issues.
Solution #2 SAVING TIME MIGHT EQUATES TO SAVING MONEY : 🕔 = 💲💲💲
I wish it could be as easy as going from weeks of coding to "1 single click" :)
I did the heavy-lifting, but you'll have to make the last effort the cross the finishing line. I made it easy for you to play with it and find a configuration that makes sense to YOU and for your strategy/asset/timeframe
Issue #3 ❌ IT'S COMPLICATED ❌
Someone did a backtest code for you, but... you can't update it because you either :
- don't know anything in programming
- ... and don't have time to learn (most of us have a job/family/...life)
- The system you have is way too specific for one of your previous idea, but can't be updated easily for your next trading ideas. I see a lot of traders nodding right now thinking "that's soooooo true !!!!"
Solution #3 🎉 WE MADE IT EASY AND FUN 🎉
Our goal is to externalize the technical stuff that you don't want to take care of - so that you can finally focus on your trading and optimizing your ideas. #bold #statement
In case you're wondering, no we're not reading your mind :), but we're also traders who didn't know how to code before and had to hire external programmers to do the heavy work for us.
You can be sure that most of the frustrations (trading, technical, ...) you have/had, we had them also and that's why we created this backtest indicator.
III. 🔌&🕹️
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator.
I'm using that feature to connect any external indicator to our Backtest PREMIUM Suite+ (Plug & Play) - hence the plug and play name. Please don't make it a plug and pray :) it's supposed to help you out, not to stress you even more
Let's assume you want to connect your Algorithm Builder Multiple Trends+ to your Backtest PREMIUM Suite+
I mentioned an Algorithm Builder but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators.
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it the backtest calculations.
This is not magic, neither is sorcery, but certainly is way beyond the most awesome thing I've ever developed on TradingView (even across all brokers I know). #bolder #statement
TradingView is the best trading platform by far and I'm very grateful to offer my indicators on their website.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature
IV. 📊 Make it nice! 📊
Now we're getting right into the fun stuff.
Let's explore briefly each display option (symbolized by an 👁️🗨️ in the Backtest UI) :
- Color Traded Background : Color the chart background is green when in a BUY trade, in red when in a SELL trade. If the Backtest is not in a trade, then the background won't be colored.
- Show Entry/Exit Markers : Displays the entries (Enter Long/Enter Short), and exits (Exit Long/Exit Short) labels.
- Show Entry Level : Displays a blue level line to easily identify the entry price of a trade.
- Show Take Profit Level : Display a purple line to visualize where the Take Profit level is (we'll explain below how to set it up).
- Show In-Trade Stops : Display the stop-loss
V. Backtesting filters
A backtest should have some filters helping the traders testing a few hypotheses. Well.... we included a ton of them.
Once again, thank you @Pinecoders for the help and support you gave me
5.1 ↑ Trade Direction ↓
- Both: The backtest takes the BUY, and SELL trades.
- Longs only/Short only: To be used if the trader wants to take the trades in a unique direction only
5.2 ▲🔷Pyramiding🔷▼
The Backtest PRO allows 1 entry per identified trend
Pyramiding has many names such as Re-entry, secondary trend, Additional entry, ...
Basically, it refers to entering multiple times in the same trend.
Maximum Number of Pyramiding Entries: Literally the max number of re-entries in the same trend.
For instance, if set to 2, then depending on the signals, you'll get at most 2 re-entries in the same trade direction.
- Position Size Multiple of Original Entry Position: Option to add X multiples of the original position size for the re-entries.
Example: Position size multiple = 2, and First entry size is $100. Then, the re-entries position sizes will be ($100 X 2 = $200).
5.3 ▄ █ Position sizing █ ▄
- 1. % of Equity: If selected, the position size used is the input to the right of 1. % of Equity.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 3% of $103K
- 2. % of Capital: If selected, the position size used is the input to the right of 2. % of Capital.
In other words, the position size will always be the same position size as calculated on the initial capital.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 5% of $100K. (As 100K is the initial capital used in our dummy example)
5.4⛔ Entry Stops and In-Trade Stops ⛔
We didn't reinvent the wheel here. Any good backtest should offer an entry stop-loss and an in-trade stop-loss.
Giving only here also an example among all the use cases. For instance, the trader sets a stop-loss 2% at the time of entry on your trade, but once the trade moves in the desired direction, the trader might want a trailing stop-loss using a 4% input.
Example: A trader goes LONG on only 1 "ABC" stock evaluated $10 per share.
1) The entry-stop loss will be 2% away so set at $8
2) A candle
3) The trailing stop will activate, and move the stop-loss from the entry stop-loss level (=$8) to $8.32 (=4% move up from $8) - and so on, and so forth for each time the price moves 4% up
The entry and in-trade stop losses can absolutely be identicals. There is no universal rule, and as always you know the drill - all depends on your backtest, and trading strategy as a whole.
5.5 ❌ Hard Exits ❌
⚠️The Backtest PRO Suite offers the hard exit on MACD only.
Our Backtest PREMIUM Suite offers 2 more indicators to invalidate your trades on :
1. MACD
2. Trend Direction
3. RSI divergence (Regular, and Hidden)
The hard exit (or invalidation) is a fundamental part of my trading method.
I explained numerous times on TradingView, our website, and social media channels why I "love" this concept so much, and how it saved my trading account numerous times from getting savagely wrecked by the market.
5.6 💲💲 Take Profit 💲💲
We only included 1 level of Take Profit so far. We'll work on adding at least one more soon.
You can set your Take Profit level based on either a:
1- Fixed value
2 - Percentage value
5.7 📆 Date Range Filtering 📆
If enabled, the backtest only uses the data between the starting and the ending dates of the defined range.
5.8 ⏱️ Hourly Range Filtering ⏱️
Please note that the hours filtering is based on the broker time - not on your chart time.
In other words, if your chart is UTC+1, but you're trading an asset from a US EAST COAST broker, then the timezone used is the UTC-4 timezone.
You'll must be wary of this when filtering and probably do a quick (but simple) calculation before setting up this option.
The easiest would be to set your chart timezone on the broker local timezone (and no math is needed).
Let's add a quick note that the hourly filter is also included in our Algorithm Builders PRO/PREMIUM 12 months. #shameless #self #advertising
5.9 ❗❗ Fees and Slippage ❗❗
Too often completely ignored by many traders, the fees can eat gains out quickly/deepen one's capital faster than expected.
⚠️The fees vary between brokers, and asset traded - it could be recommended to check on your broker page what are the fees for the asset on your chart, and insert that percentage number.
Another cost ignored, even more, is the Slippage.
i.e. think about a Stop-Loss being hit, and we're so confused because we see on the chart that NEVER the price came even close to your SL level, but... it got hit anyway.
Yes! we know how frustrating it is, but that's the game we're playing, and trading should never be about blaming the game, but only blaming the players/traders/ourselves.
Blaming the game constantly is likely to not end with good performance results, but accounting for this "risk", and being able to quantify it is an incredible hedge. #bold #statement #level #10000
5.10 🔔 Alerts 🔔
By design, the alerts aren't available for strategy scripts. But this script is an... indicator so why should we not enjoy all the cards in our hands the fullest.
We enabled the alerts on the:
1. Main BUY/SELL Entry
2. Pyramiding BUY/SELL Entries
3. Exit Signals such as stop-loss, take-profit, hard-exits
You're welcome :)
VI. 📝 Where are the backtest results? 📝
Answer: in the Data Window section of your TradingView
Now the cherry on the cake if we might say so. A backtest is cool, but visualizing results is actually the end goal here.
Our PREMIUM users benefit from way more analytics than the PRO users.
More info available on our website.
The Data Window is dynamic - it means whenever you'll mouseover at a give time on your chart, the data on that panel automatically updates.
Let's assume you're backtesting your idea between Sept 1st, 2019, and Oct 1st, 2019.
If your mouse cursor is located (or hovered) at a candle on Sept 14th, 2019 (data chosen randomly for this example), then the data displayed only includes the results between Sept 1st, and Sept 14th.
More info available on our website with a nice tutorial video. Data window metrics and filters explained on our website
Here's what the data window looks like: imgur.com
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators.
You only will judge and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Backtest PRO Suite+ (Plug & Play)Hello traders
I. SCRIPTS ACCESS AND TRIALS
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. Many video tutorials explaining clearly how all our indicators work are available on your website > guides section.
4. You may also contact me directly for more information
II. Backtest PRO Suite+ (Plug & Play)
2.1 Forewords
This indicator is available only to our PRO 12 months users. YES! I said indicator, and not strategy or backtest for an excellent reason.
We wanted to make it as generic as possible and allow anyone to connect any indicator of his/her choice in a few clicks only.
This is NOT possible (in TradingView) with a strategy/backtest, but only with an indicator - that's why we worked on recoding the whole backtest logic as an indicator.
The PRO edition does not handle any pyramiding/re-entry - as such enters only once per trend by design. This feature is reserved for our PREMIUM users.
2.2 🔎 Concept 🔎
This is an indicator that I saw on TradingView and was introduced by the @Pinecoders account on TradingView.
I inspired myself from his Backtest Engine to offer a version more adapted to my vision - The benefits of connecting yourself any indicator to our Backtest engine are amazing and huge.
The concept can't be more simple. Imagine using any indicator and connecting to a backtest system in a single click.
You may connect your Algorithm Builder also to this complete backtesting system in a single click.
What's better between paying thousands for a backtest, or connecting yourself your indicator to your backtest with a click?
That was a rhetoric question, but you can still share your answer with me if you want to :)
III. The amazing benefits of our🔌&🕹️ (Plug&Play) system
Issue #1 💲 A BACKTEST SYSTEM IS COSTLY 💲
Hiring a developer to code a custom indicator is costly. For a custom backtest it's even more expensive as those scripts are very often way more complicated.
Now imagine, that now that you see your idea live on a chart, you'll realize you'll have to finance another backtest system, as the one you have is not compatible with your new idea.
Solution #1 💲💲 YOU COULD BE SAVING SOME MONEY 💲💲
just because it won't be needed to hire someone else for each of your trading idea.
We will never guarantee your success on the market, but THIS I stand by it any day any hour.
You can connect any indicator or your choice by updating your indicator slightly and connecting it to our Backtest engine. We send the tutorial for doing it to all our customers.
Issue #2 🕔 IT'S TIME-CONSUMING 🕔
Even if someone is doing all the coding for you, it might require days/weeks depending on your overall trading strategy/idea.
Without even counting the time for you to test/validate the work done and all the back-and-forth to fix all the issues.
Solution #2 SAVING TIME MIGHT EQUATES TO SAVING MONEY : 🕔 = 💲💲💲
I wish it could be as easy as going from weeks of coding to "1 single click" :)
I did the heavy-lifting, but you'll have to make the last effort the cross the finishing line. I made it easy for you to play with it and find a configuration that makes sense to YOU and for your strategy/asset/timeframe
Issue #3 ❌ IT'S COMPLICATED ❌
Someone did a backtest code for you, but... you can't update it because you either :
- don't know anything in programming
- ... and don't have time to learn (most of us have a job/family/...life)
- The system you have is way too specific for one of your previous idea, but can't be updated easily for your next trading ideas. I see a lot of traders nodding right now thinking "that's soooooo true !!!!"
Solution #3 🎉 WE MADE IT EASY AND FUN 🎉
Our goal is to externalize the technical stuff that you don't want to take care of - so that you can finally focus on your trading and optimizing your ideas. #bold #statement
In case you're wondering, no we're not reading your mind :), but we're also traders who didn't know how to code before and had to hire external programmers to do the heavy work for us.
You can be sure that most of the frustrations (trading, technical, ...) you have/had, we had them also and that's why we created this backtest indicator.
III. 🔌&🕹️
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator.
I'm using that feature to connect any external indicator to our Backtest PRO Suite+ (Plug & Play) - hence the plug and play name. Please don't make it a plug and pray :) it's supposed to help you out, not to stress you even more
Let's assume you want to connect your Algorithm Builder Single Trend+ to your Backtest PRO Suite+
I mentioned an Algorithm Builder but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators.
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it the backtest calculations.
This is not magic, neither is sorcery, but certainly is way beyond the most awesome thing I've ever developed on TradingView (even across all brokers I know). #bolder #statement
TradingView is the best trading platform by far and I'm very grateful to offer my indicators on their website.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature
IV. 📊 Make it nice! 📊
Now we're getting right into the fun stuff.
Let's explore briefly each display option (symbolized by a 👁️🗨️ in the Backtest UI) :
- Color Traded Background : Color the chart background is green when in a BUY trade, in red when in a SELL trade. If the Backtest is not in a trade, then the background won't be colored.
- Show Entry/Exit Markers : Displays the entries (Enter Long/Enter Short), and exits (Exit Long/Exit Short) labels.
- Show Entry Level :Displays a blue level line to easily identify the entry price of a trade.
- Show Take Profit Level : Display a purple line to visualize where the Take Profit level is (we'll explain below how to set it up).
- Show In-Trade Stops : Display the stop-loss
V. Backtesting filters
A backtest should have some filters helping the traders testing a few hypotheses. Well.... we included a ton of them - even for the PRO version
Once again, thank you @Pinecoders for the help and support you gave me
5.1 ▄ █ Position sizing █ ▄
- 1. % of Equity: If selected, the position size used is the input to the right of 1. % of Equity.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 3% of $103K
- 2. % of Capital: If selected, the position size used is the input to the right of 2. % of Capital.
In other words, the position size will always be the same position size as calculated on the initial capital.
Example: The trader starts with a capital of 100K. After a winning trade, your total capital is $103K - for the next trade the position size will be 5% of $100K. (As 100K is the initial capital used in our dummy example)
5.2⛔ Entry Stops and In-Trade Stops ⛔
We didn't reinvent the wheel here. Any good backtest should offer an entry stop-loss and an in-trade stop-loss.
Giving only here also an example among all the use cases. For instance, the trader sets a stop-loss 2% at the time of entry on your trade, but once the trade moves in the desired direction, the trader might want a trailing stop-loss using a 4% input.
Example: A trader goes LONG on only 1 "ABC" stock evaluated $10 per share.
1) The entry-stop loss will be 2% away so set at $8
2) A candle
3) The trailing stop will activate, and move the stop-loss from the entry stop-loss level (=$8) to $8.32 (=4% move up from $8) - and so on, and so forth for each time the price moves 4% up
The entry and in-trade stop losses can absolutely be identicals. There is no universal rule, and as always you know the drill - all depends on your backtest, and indicator configurations as a whole.
Last, but not the least, selecting an Entry stop-loss is mandatory, but the in-trade stop-loss is not. Up to you to decide if the in-trade SL is needed for your Backtest strategy.
5.3 ❌ Hard Exits ❌
We included the MACD hard exit indicator in the backtest - as we did also for the Algorithm Builders.
The hard exit (or invalidation) is a fundamental part of my trading method.
I explained numerous times on TradingView, our website, and social media channels why I "love" this concept so much, and how it saved my trading account numerous times from getting savagely wrecked by the market.
5.4 💲💲 Take Profit 💲💲
We only included 1 level of Take Profit so far. We'll work on adding at least one more soon.
You can set your Take Profit level based on either a:
1- Fixed value
2 - Percentage value
5.5 📆 Date Range Filtering 📆
If enabled, the backtest only uses the data between the starting and the ending dates of the defined range.
5.6 ❗❗ Fees and Slippage ❗❗
Too often completely ignored by many traders, the fees can eat gains out quickly/deepen one's capital faster than expected.
⚠️The fees vary between brokers, and asset traded - it could be recommended to check on your broker page what are the fees for the asset on your chart, and insert that percentage number.
Another cost ignored, even more, is the Slippage.
i.e. think about a Stop-Loss being hit, and we're so confused because we see on the chart that NEVER the price came even close to your SL level, but... it got hit anyway.
Yes! we know how frustrating it is, but that's the game we're playing, and trading should never be about blaming the game, but only blaming the players/traders/ourselves.
Blaming the game constantly is likely to not end with good performance results, but accounting for this "risk", and being able to quantify it is an incredible hedge. #bold #statement #level #10000
5.7 🔔 Alerts 🔔
By design, the alerts aren't available for strategy scripts. But this script is an... indicator so why should we not enjoy all the cards in our hands the fullest.
We enabled the alerts on those Backtest Entry/Exit signals. You're welcome :)
VI. 📝 Where are the backtest results? 📝
Answer: in the Data Window section of your TradingView
Now the cherry on the cake if we might say so. A backtest is cool, but visualizing results is actually the end goal here.
The Data Window is dynamic - it means whenever you'll mouseover at a give time on your chart, the data on that panel automatically updates.
Let's assume you're backtesting your idea between Sept 1st, 2019, and Oct 1st, 2019.
If your mouse cursor is located (or hovered) at a candle on Sept 14th, 2019 (data chosen randomly for this example), then the data displayed only includes the results between Sept 1st, and Sept 14th.
More info available on our website with a nice tutorial video. Data window metrics and filters explained on our website
Here's what the data window looks like: imgur.com
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators.
You only will judge and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Algorithm Builder - Single Trend+ (Plug&Play)Hello traders
I. SCRIPTS ACCESS AND TRIALS
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. You may also contact me directly for more information
II. Algorithm Builder - Single Trend+ Plug&Play
2.1 Concept
That script is an upgrade of the Single Trend:
The Algorithm Builder - Single Trend+ (Plug & Play) is made to detect the convergence of many unrelated indicators, and give a BUY or SELL signal whenever all the selected sub-indicators are converging in the same direction.
The Single Trend+ (Plug & Play) gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated.
III. Plug & Play
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator.
I'm using that feature to connect any external indicator to our Algorithm Builder Single Trend+ Plug & Play (hence the plug and play name).
Let's assume you have your RSI divergence indicator - which is not part of the Algorithm Builder - but noticed that the convergence of an RSI divergence and a MACD gives strong signals.
I mentioned an RSI divergence, but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators.
Any indicator that displays visual signals are eligible for this feature .... in other words.... all possible indicators. You're welcome :)
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it in the convergence/confluence calculations.
Hence, whenever the MACD and RSI divergence will be in the same direction for the first time, you'll get a signal. For the first time only because this is a Single trend edition - you may enter multiple times using our Algorithm Builders - Multiple Trends editions.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature
IV. Why the Algorithm Builder Single Trend+ (Plug&Play) may help you
I worked with many traders during my career, and their feedback about trading is often pretty similar.
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules.
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
4.1 The Algorithm Builder trading framework
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified.
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
4.2 Supports and Resistances
The indicator displays the main algorithmic supports and resistances according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to.
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
4.3 Choose your favorite risk management algorithm
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
Stop-Loss Management
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
Take Profits Management
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
4.4 Built-in Trade Manager
This is very likely the most loved utility script that we shared on TradingView.
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades.
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration.
You'll also be able to change the Trade Manager labels positions as you wish :)
4.5 Built-in Risk-to-Reward Panel
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
4.6Hard Exits
Our trading method is known for the hard exits, also called invalidation.
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible.
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
4.7 Alerts
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
V. Pain points that we're trying to solve with our Algorithm Builders
Issue #1 There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
Solution #1 A reliable system that removes the external noise is much needed in trading to stay "in the game".
Issue #2 Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
Solution #2 Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
Issue #3 Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
Solution #3 As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same
scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal
for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
VI. Resolving a complex puzzle and having fun in the process
Trading has to stay a passion and not (only be) a source of intense stress.
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this? Because it's fun
Might appears as a bold statement, but I guarantee that looking for setups is fun.
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
VII. Designing a system that "makes sense"
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice, less than an hour might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
VII. Algorithm Builder versus the main trader enemy(=psychology)
This indicator has the goal to help solving one of the MAIN issues encountered by traders.
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time).
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine.
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
VIII. What is a wrong or bad configuration?
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Algorithm Builder - Single Trend+ (MTF)Hello traders
I. SCRIPTS ACCESS AND TRIALS
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. You may also contact me directly for more information
II. Algorithm Builder - Single Trend+ (MTF)
2.1 Concept
MTF means Multi Timeframes - we all agree that saying MTF is nicer and easier than multi-timeframe.
That script is an upgrade of the Single Trend:
The Algorithm Builder - Single Trend+ (Multiple Timeframes/MTF) is made to detect the convergence of many unrelated indicators, and give a BUY or SELL signal whenever all the selected sub-indicators - each may be using a different timeframe - are converging in the same direction.
Now sit tight because what's going to be announced will be awesome. Are you ready for it?... :)
The MTF version allows to detect the convergence for indicators in different timeframes. Each indicator has its own timeframe - expanding, even more, your trading analysis capabilities.
In other words, you could, for instance, detects the convergence of an H1 MACD with an H2 Supertrend, and why not also adding an m30 Moving Averages cross in the mix.
The Single Trend+ MTF gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated.
2.2 Why the Algorithm Builder Single Trend may help you
I worked with many traders during my career, and their feedback about trading is often pretty similar.
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules.
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
2.3 The Algorithm Builder trading framework
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified.
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
2.3.1 Supports and Resistances
The indicator displays the main algorithmic supports and resistances according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to.
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
2.3.2 Choose your favorite risk management algorithm
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
Stop-Loss Management
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
Take Profits Management
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
2.3.3 Built-in Trade Manager
This is very likely the most loved utility script that we shared on TradingView.
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades.
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration.
You'll also be able to change the Trade Manager labels positions as you wish :)
2.3.4 Built-in Risk-to-Reward Panel
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
2.3.5 Hard Exits
Our trading method is known for the hard exits, also called invalidation.
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible.
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
2.3.6 Alerts
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
III. Pain points that we're trying to solve with our Algorithm Builders
Issue #1 There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
Solution #1 A reliable system that removes the external noise is much needed in trading to stay "in the game".
Issue #2 Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
Solution #2 Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
Issue #3 Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
Solution #3 As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same
scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal
for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
III. Resolving a complex puzzle and having fun in the process
Trading has to stay a passion and not (only be) a source of intense stress.
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this? Because it's fun
Might appears as a bold statement, but I guarantee that looking for setups is fun.
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
IV. Designing a system that "makes sense"
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice, less than an hour might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
V. Algorithm Builder versus the main trader enemy(=psychology)
This indicator has the goal to help solving one of the MAIN issues encountered by traders.
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time).
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine.
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
VI. What is a wrong or bad configuration?
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Algorithm Builder - Single Trend+Hello traders
I. SCRIPTS ACCESS AND TRIALS
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. You may also contact me directly for more information
II. Algorithm Builder - Single Trend+
2.1 Concept
That script is an upgrade of the Single Trend:
The Algorithm Builder - Single Trend+ was made to detect the convergence (also called confluence) of many unrelated indicators, giving a BUY or SELL signal whenever all the selected sub-indicators are converging in the same direction.
The Single Trend gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated.
2.2 Why the Algorithm Builder Single Trend may help you
I worked with many traders during my career, and their feedback about trading is often pretty similar.
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules.
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
2.3 The Algorithm Builder trading framework
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified.
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
2.3.1 Supports and Resistances
The indicator displays the main algorithmic supports and resistances according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to.
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
2.3.2 Choose your favorite risk management algorithm
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
Stop-Loss Management
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
Take Profits Management
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
2.3.3 Built-in Trade Manager
This is very likely the most loved utility script that we shared on TradingView.
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades.
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration.
You'll also be able to change the Trade Manager labels positions as you wish :)
2.3.5 Built-in Risk-to-Reward Panel
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
2.3.6 Hard Exits
Our trading method is known for the hard exits, also called invalidation.
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible.
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
2.3.7 Alerts
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
III. Pain points that we're trying to solve with our Algorithm Builders
Issue #1 There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
Solution #1 A reliable system that removes the external noise is much needed in trading to stay "in the game".
Issue #2 Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
Solution #2 Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
Issue #3 Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
Solution #3 As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same
scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal
for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
IV. Resolving a complex puzzle and having fun in the process
Trading has to stay a passion and not (only be) a source of intense stress.
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this? Because it's fun
Might appears as a bold statement, but I guarantee that looking for setups is fun.
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
V. Designing a system that "makes sense"
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice, less than an hour might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
VI. Algorithm Builder versus the main trader enemy(=psychology)
This indicator has the goal to help solving one of the MAIN issues encountered by traders.
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time).
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine.
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
VII. What is a wrong or bad configuration?
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
Strategy Builder Crypto V6Hello everyone
This indicator is the result of 7 years of trading (including 3 years of analyzing day and night how crypto assets behave).
I made it fully customizable but I wouldn't recommend changing the default values as they're the most optimal ones for now. Might change in the future but I'm very happy with the signals so far and I hope you'll be as well :)
Without further due, let's dig into it...
0 - Algo trading and Why
In the crypto trading, there is a lot of useless noise (we can probably thank Crypto Twitter for that :p) and a lot of useless data with the sole purpose is to lure you (who said Bitfinex Long/Short ratio or CME gaps ??)
I wanted to remove all the useless and only focus on Technical Analysis (TA) because I was deeply convinced that TA includes by design Fundamental Analysis (FA) and Pumponomics Analysis (PA) - PA being for instance when your favorite twitter guru will pump and dump on you
I heard that so many people got REKT from the previous bear market and I wanted to give back to the community - who helped me so much a few years back.
I worked hard to design the method and make it simple for the public and for FREE (so far as I want to collect feedbacks from the community and improving the indicator)
THIS IS MY GIFT TO YOU
1 - Input values
I'll explain later on through a medium article what each parameter means and how to set them up. For now, please used the optimized and recommended values already set in the indicator
2 - The method
This method works for intraday trading for timeframes between m5 and H1. Any timeframe above could work but would give signals too late - in this case, I would recommend changing the inputs with smaller values to adjust
I see a trend being composed of a main trend, and mini sub trends. In other words, for instance, a weekly bullish trend is made of smaller H4 bullish trends. Hope it makes sense so far
Let's call the weekly trend the MAIN trend and the H4 smaller trends the SECONDARY trends
That's exactly what this indicator is about
It will catch the best MAIN trend and all the SECONDARY trends in the same direction of the MAIN trend.
It's up to you if you want to take all the SECONDARY trends or only the first one in the sequence.
3 - Invalidation signal
A signal invalidation is used to make you exiting your position with a small loss before your stop loss will get hit. Very powerful way to save your capital and limit your losses.
You'll find the indicator here on tradingview for free under the name Trend signal with Alert (made by myself)
Trend signal with Alert
to invalidate entries. You'll need to request an invite
Briefly, let's assume we get a BUY signal. I would exit the position either if I'm getting a DOWN trend signal. It means, if the oblique/logarithmic trendline is broken, then it's better to exit the position and wait for the indicator to give another BUY signal later hopefully
Best case, it will limit your loss in case the asset will dump.
Worst case, this strict management strategy will make you exiting your position for no reason and you'll re-enter later (with a signal) at almost the same price or a bit higher
In the long run, this method will prevent you from having big losses
4 - Stop Loss and Take profits levels
It's really up to you. It depends of your capital and psychology
This indicator is made to give big moves but that's not 100% guaranteed. You can draw some trendlines or use moving averages in big timeframes to set your take profit and stop loss levels.
I personally use this also, along with fibonacci on the weekly/monthly timeframes for my take profit levels
As I'm a nice person, I'm linking the Fibonacci indicator that I use here
Automatic Multi-timeframes fibonacci zones
. You'll also need to request an invite for that one
4-bis - Trailing stop
Not financial advice but I use a supertrend and I have a software that will trail my stop according to that supertrend level
For LONG positions, we could set the trailing below the supertrend.
For SHORT positions, we could set the trailing above the supertrend.
You'll find the indicator here on tradingview for free under the name Supertrend V1.0 - Buy or Sell Signal
5 - Which assets
It's working with the default values on major/mid/small caps and for ALTS/BTC, ALTS/USD and ALTS/ETH pairing
YES, THIS IS MOST AWESOME THING OF THE ENTIRE UNIVERSE !!!
6 - Best setup
m15 timeframe is my preferred one for this method. Best Risk/Reward/Invalidations ratio among all other timeframes
I strongly recommend to use the Trend Signal with the input value 14 for the invalidations
If you enter on a BUY signal, and get a RED trend signal, exit immediately the position without waiting for any other confirmation/pullback or anything else
If you enter on a SELL signal, and get a BLUE trend signal, exit immediately the position without waiting for any other confirmation/pullback or anything else
For the trailing stop/Supertrend value, it depends of your capital and how big your stop loss should be. I personally use the settings in the Supertrend indicator
7 - Alerts
You can setup alerts for the primary and secondary signals in Tradingview so that you won't have to stare at the charts all day long. You mental healthy is my priority above everything else :)
8 - More to come
I personally use the alerts from this indicator coupled with a system to take the trades given by the tradingview alerts. I'll publish it later on if I feel the indicator collects enough interest from you guys
Signalgo VSignalgo V: Technical Overview and Unique Aspects
Signalgo V is a technical indicator for TradingView that integrates multiple layers of analysis: moving averages, MACD, Bollinger Bands and RSI to deliver buy and sell signals. Below is an informational breakdown of how the indicator functions, its input parameters, signal logic, exit methodology, and how it stands apart from traditional moving average (MA) tools, without disclosing specifics that allow for code duplication.
How Signalgo V Works
1. Multi-Layered Technical Synthesis
Signalgo V processes several technical studies simultaneously:
Fast/Slow Moving Averages: Uses either EMA or SMA (user-selected) with adjustable periods. These are central to initial trend detection through crossovers.
MACD Filter: MACD line vs. signal line cross-check ensures trend direction is supported by both momentum and MA structure.
RSI Confirmation: The RSI is monitored to verify that signals are not excessively overbought or oversold, tuning the system to changing momentum regimes.
Bollinger Bands Context: Entry signals are only considered when price action is beyond the Bollinger Bands envelope, which further filters for unusually strong movements.
These strict, multi-indicator entry criteria are designed to ensure only the most robust signals are surfaced, each is contingent on the presence of aligned trend, momentum and volatility.
2. Exit Methodology
Take-Profit Levels: After entering a trade, the strategy automatically sets three predefined profit targets (TP1, TP2, TP3). If the price reaches any of these targets, the system marks it, helping you lock in profits at different stages.
Stop-Loss System: Simultaneously, a stop-loss (SL) value is set, protecting you from significant losses if the market moves against your position.
Dynamic Adjustment: When the first profit target (TP1) is hit, the system can automatically move the stop-loss to your entry price. This means your worst-case outcome is break-even from that point, reducing downside risk.
Trailing Stop-Loss: After TP1 is reached, a dynamic trailing stop can activate. This allows the stop-loss to follow the price as it moves in your favor, aiming to capture more profit if the trend continues, while still protecting your gains if the price reverses.
Visual Markers: The system plots all important exit levels (profit targets, stop-loss, trailing stop) directly on the chart. Optional labels also appear whenever a target or stop-loss is hit, making it easy to see progress.
Visual cues (labels) are plotted directly on the bar where a buy or sell signal triggers, clarifying entry points and aiding manual exit/risk management decisions.
Input Parameters
rsiLen: Lookback period for RSI calculation.
rsiOB and rsiOS: Overbought/oversold thresholds, adaptive to the indicator’s multi-layered logic.
maFastLen and maSlowLen: Periods for fast and slow MAs.
maType: EMA or SMA selectable for both MAs.
bbLen: Length for Bollinger Bands mean calculation.
bbMult: Standard deviation multiplier for BB width.
macdFast, macdSlow, macdSig: Standard MACD parameterization for nuanced momentum oversight.
What Separates Signalgo V from Traditional Moving Average Indicators
Composite Signal Architecture: Where traditional MA systems generate signals solely on MA crossovers, Signalgo V requires layered, cross-confirmational logic across trend (MAs), momentum (MACD), volatility (Bollinger Bands), and market strength (RSI).
Adaptive Volatility Context: MA signals only “count” when price is meaningfully breaking out of its volatility envelope, filtering out most unremarkable crosses that plague basic MA strategies.
Integrated Multi-Factor Filters: Strict compliance with all layers of signal logic is enforced. A marked improvement over MA strategies that lack secondary or tertiary confirmation.
Non-Redundant Event Limiting: Each entry is labeled as a unique event. The indicator does not repeat signals on subsequent bars unless all entry conditions are freshly met.
Trading Strategy Application
Trend Identification: By requiring concurrence among MA, MACD, RSI, and BB, this tool identifies only those trends with robust, multifactor support.
Breakout and Momentum Entry: Signals are bias-toward trades that initiate at likely breakout points (outside BB range), combined with fresh momentum and trend alignment.
Manual Discretion for Exits: The design is to empower traders with high-confidence entries and leave risk management or partial profit-taking adaptive to trader style, using visual cues from all component indicators.
Alert Generation: Each buy/sell event optionally triggers an alert, supporting systematic monitoring without constant chart watching.
ST+ TP1-TP5 + CALL/PUT 1. The Indicator's General Concept
The indicator works by:
Using the Supertrend indicator to determine when a new trend (bullish or bearish) begins.
Once a new trend is detected:
It determines the entry price.
It calculates the stop-loss (SL).
It calculates five profit levels, TP1 to TP5.
It draws horizontal lines on the chart representing the entry, SL, TP1-TP5, with labels on the right side (as shown in the image).
It can also display a CALL or PUT symbol above the signal candle.
It tracks price movement to determine if a target has been reached or if the stop-loss has been hit.
2. The Inputs That Control the Indicator
You can modify these values according to your strategy:
ATR Length → The number of candles used to calculate volatility.
Supertrend Factor → Controls the sensitivity of the supertrend. (The higher the value, the fewer the signals.)
TP1 to TP5 → ATR multipliers to set targets.
SL → ATR multiplier to set stop loss.
Extend Bars → The distance the lines extend to the right before the bar.
Show CALL/PUT → Shows or hides the trend signal.
Show TP Flags → Enables or disables small TP flags above the candles.
3. Determining the Trend
The indicator uses Supertrend to determine:
Is the market in an uptrend or a downtrend?
If the trend changes from bearish to bullish, it registers a CALL signal.
If the trend changes from bullish to bearish, it registers a PUT signal.
The first candle at which this change occurs is called a reversal candle.
4. Calculating Levels
When a reversal candle occurs:
Entry price = closing price of the candle.
Stop Loss (SL):
For an uptrend = Price - ATR × Multiplier.
For a downtrend = Price + ATR × Multiplier.
Profit Levels (TP1, TP5):
If up → Price + ATR × (multipliers).
If down → Price - ATR × (multipliers).
5. Drawing Lines and Labels
Draws horizontal lines representing:
Entry (green)
SL (red)
TP1-TP5 (blue)
Places labels on the right side of the chart, as shown in the image:
Each label shows the price level.
The label reads: "TP1: 123.45" or "Entry: 120.00", etc.
The positions of the lines and labels are updated automatically with each new candle.
6. Showing CALL and PUT Signals
If the new trend is up, a green CALL label will appear above the reversal candle.
If the new trend is down, a red PUT label will appear above the reversal candle.
7. Target Tracking and Stop Loss
The indicator tracks each candle after the signal:
If the price touches one of the targets (TP1 to TP5):
It marks this target.
It stops tracking this target so that it does not repeat the signal.
If the price touches the Stop Loss (SL):
It closes the trade and stops tracking completely.
8. Blue Flags Option
There is an additional option:
If you enable it, a small blue flag will appear above or below the candle when any target is reached.
If you disable it, you won't see these flags; you'll just see the sidebars and labels.
9. Live and Dynamic Update
The indicator uses an automatic update every minute.
Ensures that all lines and labels remain fixed at the last candlestick of the analysis.
10. Trade Lifecycle
Wait for a reversal in a supertrend.
At the first reversal → set Entry/SL/TP1..TP5.
Draw lines and labels on the chart.
Monitor price action:
If any TP is met → mark it as met.
If the SL is reached → cancel the trade.
Wait for a new signal to begin a new cycle.
Conclusion
The indicator provides you with a complete visual trading system.
Defines entry points, stop-losses, and profit targets.
Everything is displayed on the chart with clear colored lines and labels.
Keeps targets organized and prevents duplicate signals.
Can be used on any timeframe or market.
AltCoin & MemeCoin Index Correlation [Eddie_Bitcoin]🧠 Philosophy of the Strategy
The AltCoin & MemeCoin Index Correlation Strategy by Eddie_Bitcoin is a carefully engineered trend-following system built specifically for the highly volatile and sentiment-driven world of altcoins and memecoins.
This strategy recognizes that crypto markets—especially niche sectors like memecoins—are not only influenced by individual price action but also by the relative strength or weakness of their broader sector. Hence, it attempts to improve the reliability of trading signals by requiring alignment between a specific coin’s trend and its sector-wide index trend.
Rather than treating each crypto asset in isolation, this strategy dynamically incorporates real-time dominance metrics from custom indices (OTHERS.D and MEME.D) and combines them with local price action through dual exponential moving average (EMA) crossovers. Only when both the asset and its sector are moving in the same direction does it allow for trade entries—making it a confluence-based system rather than a single-signal strategy.
It supports risk-aware capital allocation, partial exits, configurable stop loss and take profit levels, and a scalable equity-compounding model.
✅ Why did I choose OTHERS.D and MEME.D as reference indices?
I selected OTHERS.D and MEME.D because they offer a sector-focused view of crypto market dynamics, especially relevant when trading altcoins and memecoins.
🔹 OTHERS.D tracks the market dominance of all cryptocurrencies outside the top 10 by market cap.
This excludes not only BTC and ETH, but also major stablecoins like USDT and USDC, making it a cleaner indicator of risk appetite across true altcoins.
🔹 This is particularly useful for detecting "Altcoin Season"—periods where capital rotates away from Bitcoin and flows into smaller-cap coins.
A rising OTHERS.D often signals the start of broader altcoin rallies.
🔹 MEME.D, on the other hand, captures the speculative behavior of memecoin segments, which are often driven by retail hype and social media activity.
It's perfect for timing momentum shifts in high-risk, high-reward tokens.
By using these indices, the strategy aligns entries with broader sector trends, filtering out noise and increasing the probability of catching true directional moves, especially in phases of capital rotation and altcoin risk-on behavior.
📐 How It Works — Core Logic and Execution Model
At its heart, this strategy employs dual EMA crossover detection—one pair for the asset being traded and one pair for the selected market index.
A trade is only executed when both EMA crossovers agree on the direction. For example:
Long Entry: Coin's fast EMA > slow EMA and Index's fast EMA > slow EMA
Short Entry: Coin's fast EMA < slow EMA and Index's fast EMA < slow EMA
You can disable the index filter and trade solely based on the asset’s trend just to make a comparison and see if improves a classic EMA crossover strategy.
Additionally, the strategy includes:
- Adaptive position sizing, based on fixed capital or current equity (compound mode)
- Take Profit and Stop Loss in percentage terms
- Smart partial exits when trend momentum fades
- Date filtering for precise backtesting over specific timeframes
- Real-time performance stats, equity tracking, and visual cues on chart
⚙️ Parameters & Customization
🔁 EMA Settings
Each EMA pair is customizable:
Coin Fast EMA: Default = 47
Coin Slow EMA: Default = 50
Index Fast EMA: Default = 47
Index Slow EMA: Default = 50
These control the sensitivity of the trend detection. A wider spread gives smoother, slower entries; a narrower spread makes it more responsive.
🧭 Index Reference
The correlation mechanism uses CryptoCap sector dominance indexes:
OTHERS.D: Dominance of all coins EXCLUDING Top 10 ones
MEME.D: Dominance of all Meme coins
These are dynamically calculated using:
OTHERS_D = OTHERS_cap / TOTAL_cap * 100
MEME_D = MEME_cap / TOTAL_cap * 100
You can select:
Reference Index: OTHERS.D or MEME.D
Or disable the index reference completely (Don't Use Index Reference)
💰 Position Sizing & Risk Management
Two capital allocation models are supported:
- Fixed % of initial capital (default)
- Compound profits, which scales positions as equity grows
Settings:
- Compound profits?: true/false
- % of equity: Between 1% and 200% (default = 10%)
This is critical for users who want to balance growth with risk.
🎯 Take Profit / Stop Loss
Customizable thresholds determine automatic exits:
- TakeProfit: Default = 99999 (disabled)
- StopLoss: Default = 5 (%)
These exits are percentage-based and operate off the entry price vs. current close.
📉 Trend Weakening Exit (Scale Out)
If the position is in profit but the trend weakens (e.g., EMA color signals trend loss), the strategy can partially close a configurable portion of the position:
- Scale Position on Weak Trend?: true/false
- Scaled Percentage: % to close (default = 65%)
This feature is useful for preserving profits without exiting completely.
📆 Date Filter
Useful for segmenting performance over specific timeframes (e.g., bull vs bear markets):
- Filter Date Range of Backtest: ON/OFF
- Start Date and End Date: Custom time range
OTHER PARAMETERS EXPLANATION (Strategy "Properties" Tab):
- Initial Capital is set to 100 USD
- Commission is set to 0.055% (The ones I have on Bybit)
- Slippage is set to 3 ticks
- Margin (short and long) are set to 0.001% to avoid "overspending" your initial capital allocation
📊 Visual Feedback and Debug Tools
📈 EMA Trend Visualization
The slow EMA line is dynamically color-coded to visually display the alignment between the asset trend and the index trend:
Lime: Coin and index both bullish
Teal: Only coin bullish
Maroon: Only index bullish
Red: Both bearish
This allows for immediate visual confirmation of current trend strength.
💬 Real-Time PnL Labels
When a trade closes, a label shows:
Previous trade return in % (first value is the effective PL)
Green background for profit, Red for losses.
📑 Summary Table Overlay
This table appears in a corner of the chart (user-defined) and shows live performance data including:
Trade direction (yellow long, purple short)
Emojis: 💚 for current profit, 😡 for current loss
Total number of trades
Win rate
Max drawdown
Duration in days
Current trade profit/loss (absolute and %)
Cumulative PnL (absolute and %)
APR (Annualized Percentage Return)
Each metric is color-coded:
Green for strong results
Yellow/orange for average
Red/maroon for poor performance
You can select where this appears:
Top Left
Top Right
Bottom Left
Bottom Right (default)
📚 Interpretation of Key Metrics
Equity Multiplier: How many times initial capital has grown (e.g., “1.75x”)
Net Profit: Total gains including open positions
Max Drawdown: Largest peak-to-valley drop in strategy equity
APR: Annualized return calculated based on equity growth and days elapsed
Win Rate: % of profitable trades
PnL %: Percentage profit on the most recent trade
🧠 Advanced Logic & Safety Features
🛑 “Don’t Re-Enter” Filter
If a trade is closed due to StopLoss without a confirmed reversal, the strategy avoids re-entering in that same direction until conditions improve. This prevents false reversals and repetitive losses in sideways markets.
🧷 Equity Protection
No new trades are initiated if equity falls below initial_capital / 30. This avoids overleveraging or continuing to trade when capital preservation is critical.
Keep in mind that past results in no way guarantee future performance.
Eddie Bitcoin
Strong Economic Events Indicator (mtbr)This indicator is designed to help traders anticipate market reactions to key economic events and visualize trade levels directly on their TradingView charts. It is highly customizable, allowing precise planning for entries, take-profits, and stop-losses.
Key Features:
Multi-Event Support:
Supports dozens of economic events including ISM Services PMI, CPI, Core CPI, PPI, Non-Farm Payrolls, Unemployment Rate, Retail Sales, GDP, and major central bank rate decisions (Fed, ECB, BOE, BOJ, Australia, Brazil, Canada, China).
Custom Event Date and Time:
Manually set the year, month, day, hour, and minute of the event to match your chart and timezone, ensuring accurate alignment.
Forecast vs Actual Analysis:
Input the forecast and actual values. The indicator calculates the likely market direction (Buy/Sell/Neutral) according to historical market reactions for each event.
Dynamic Trade Levels:
Automatically plots:
Entry price
TP1, TP2, TP3 in pips relative to the entry
Stop Loss in pips relative to the entry
Levels are automatically adjusted based on the event's Buy/Sell direction.
Visual Chart Representation:
Entry: Blue line and label
TP1/TP2/TP3: Green lines and labels
Stop Loss: Red line and label
Event occurrence: Orange dashed vertical line
Informative Table Panel:
Displays at the bottom-right of the chart:
Event name
Entry price
TP1, TP2, TP3 values
Current market direction (Buy/Sell/Neutral)
Customizable Line Extension:
Extend the lines for visibility across multiple bars on the chart.
How to Use the Indicator:
Select the Asset:
Set the Asset to Trade input to the symbol you want to analyze (e.g., XAUUSD, EURUSD).
Choose the Economic Event:
Use the drop-down menu to select the event you want to track.
Set the Event Date and Time:
Input the year, month, day, hour, and minute of the event. This ensures the event lines and labels appear at the correct time on your chart.
Input Forecast and Actual Values:
Enter the forecasted value and the actual result of the event. The script will determine market direction based on historically observed reactions for that event.
Configure Entry and Pip Levels:
Set your Entry Price
Set pip distances for TP1, TP2, TP3, and Stop Loss
The script automatically adjusts the levels according to Buy or Sell direction.
View Levels and Status:
Once the event occurs (or on backtesting), the indicator will plot:
Entry, Take Profits, Stop Loss on the chart
Vertical line for event occurrence
Table summarizing levels and Buy/Sell status
Adjust Line Extension:
Use the Line Extension (bars) input to control how far the horizontal levels extend on the chart.
Example Scenario:
Event: PPI MoM
Forecast: 0.2
Actual: 0.9
The indicator identifies the correct market reaction (Sell for EURUSD) and plots the Entry, TP1, TP2, TP3, and Stop Loss accordingly.
Important Notes:
The indicator does not execute trades automatically; it is for analysis and visualization only.
Always combine the signals with your own risk management and analysis.
Ensure your chart is set to the correct timezone corresponding to the event’s time.
This description fully explains how to use the indicator, what it displays, and step-by-step guidance for beginners and experienced traders
Institutional Analyst LLM📊 Institutional Analyst Board LLM – Smart Money Confluence Scanner for XAUUSD, Forex, Crypto 🔍 Overview The Institutional Analyst Board is a complete multi-timeframe smart money toolkit designed for traders who demand clarity, confluence, and precision. It brings together institutional-grade metrics—Order Blocks (OB), Fair Value Gaps (FVG), Liquidity Sweeps, MACD/RSI...
PTS Ultimate Analysis Board (Flexible Position + Ticker)
GoldenTradeClub
GoldenTradeClub
Updated
Jul 15
PTS Ultimate Analysis Board (Flexible Position + Ticker) Version: Pine v5 Description: This indicator builds a fully customizable, multi-timeframe dashboard table that surfaces 19 key metrics for any ticker (current chart TF, 1 h, 4 h). You can position the table at the top-right or bottom-right of your chart and toggle each metric on or off. Key...
Trading Engine AI Light
GoldenTradeClub
GoldenTradeClub
Jul 14
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
Elliott Wave Complete
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: Elliott Wave Complete Type: Pine Script v5 overlay dashboard for TradingView Purpose: Automates Elliott Wave motive (1-5) and corrective (A-B-C) pattern detection on any timeframe, enriches it with classic ZigZag pivots, dynamic Fibonacci projection levels, optional wave-count info box, and real-time alerts—all in one...
💀⚡ PTS WIZARD 666™ ULTIMATE SUPREME V5.0 - COMPLETE FIXED ⚡💀
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 💀⚡ PTS WIZARD 666™ ULTIMATE SUPREME V5.0 – COMPLETE FIXED Short ID: PTS-666-SUPREME Type: Pine Script v5 overlay dashboard for TradingView Purpose: An all-in-one trading overlay that integrates advanced WaveTrend momentum, RSI/MFI analysis, POC volume profiling, multiple Fibonacci golden/ultimate zones, volume footprint & imbalance...
🔥 PTS TRADE 666™ ULTIMATE BOOKMAP + QUANTUM ENGINE
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🔥 PTS TRADE 666™ ULTIMATE BOOKMAP + QUANTUM ENGINE Short ID: PTS666_QUANTUM_FINAL Type: Pine Script v5 overlay dashboard for TradingView Purpose: A cutting-edge, institutional-grade suite that unifies bookmap-style footprint volume profiling, dynamic heatmap liquidity analysis, AI-driven pattern recognition, smart-money protocols,...
🔥 PTS TRADE 666™ - ULTIMATE INSTITUTIONAL TOOL 🔥
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🔥 PTS TRADE 666™ – ULTIMATE INSTITUTIONAL TOOL V2.0 Short ID: PTS666_UIT_V2 Type: Pine Script v5 overlay dashboard for TradingView Purpose: Combines institutional-grade footprint volume analysis, smart-money structure detection, statistical anomaly checks, multi-timeframe divergence, Ichimoku insights, pattern recognition, and an...
PTS Wizard
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: PTS Wizard Short Title: PTS Wizard Type: Pine Script v5 overlay dashboard for TradingView Purpose: A unified multi-strategy toolkit that overlays key market insights—liquidity zones, smart-money structure, footprint-style volume profile, consolidation ranges, statistical deviation bands, price forecasts, and session analysis—into a...
🔥 PTS.TRADE 666™ ULTIMATE HYBRID + MTF V3
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🔥 PTS.TRADE 666™ ULTIMATE HYBRID + MTF V3 Short ID: PTS666_ULTIMATE_MTF_V3 Type: Overlay dashboard for TradingView Purpose: A next-level hybrid trading suite that merges institutional-grade order-flow analysis, smart-money concepts, AI-driven insights, classic momentum oscillators (WaveTrend, divergence, “Gold” signals),...
🧙♂ PTS WIZARD V3.0 - FINAL EDITION
GoldenTradeClub
GoldenTradeClub
Jul 4
1. Indicator Presentation Name: 🧙♂ PTS WIZARD V3.0 – FINAL EDITION Short Title: PTS-WIZARD-V3-FINAL Type: Overlay trading dashboard for TradingView Purpose: A comprehensive multi-module indicator that blends classic cipher momentum signals, Elliott Wave pattern detection, advanced statistical analyses (Z-Score, Benford’s Law, Ehlers SNR), footprint-style volume...
🧙♂ PTS WIZARD V3.0 + FOOTPRINT ULTIMATE
GoldenTradeClub
GoldenTradeClub
Jul 4
Name: PTS WIZARD V3.0 + FOOTPRINT ULTIMATE Type: Overlay trading dashboard for TradingView Purpose: Combines classic cipher-style momentum signals with an advanced footprint volume profile, multi-timeframe bias, statistical filters, and a fusion-score system—displayed in a customizable on-chart dashboard. Core Modules Cipher Momentum Signals WaveTrend...
🧙♂ PTS WIZARD V3.0 - BASIC
GoldenTradeClub
GoldenTradeClub
Jul 1
PTS WIZARD V3.0 Basic – Ultimate Multi-Tool Trading Dashboard An all-in-one overlay combining classic cipher signals, Elliott Wave pattern detection, volume analytics, divergence spotting, and smart-entry timing—backed by advanced statistical filters and a live dashboard. Key Features Cipher Signals WaveTrend with overbought/oversold zones & cross signals RSI...
Trading Engine vCD AI
GoldenTradeClub
GoldenTradeClub
Jun 15
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
Trading Engine vCD
GoldenTradeClub
GoldenTradeClub
Updated
Mar 21
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
TE CLIENT v13
GoldenTradeClub
GoldenTradeClub
Updated
Mar 15
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
Trading Engine v13
GoldenTradeClub
GoldenTradeClub
Updated
Mar 15
The Trading Engine includes the best and most effective technical analysis tools. It has 27 different Buy Signal parameters and 26 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
Trading Engine B2B
GoldenTradeClub
GoldenTradeClub
Updated
Jan 14
The Trading Engine includes the best and most effective technical analysis tools. It has 25 different Buy Signal parameters and 24 different Sell Signal parameters. Furthermore, it also has 9 Stop Loss triggers for Long Positions and 8 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss signals...
Trading Engine B2B FX V9
GoldenTradeClub
GoldenTradeClub
Updated
Jan 14
The VFLOW Trading Engine includes the best and most effective technical analysis tools. It has 20 different Buy Signal parameters and 18 different Sell Signal parameters. Furthermore, it also has 7 Stop Loss triggers for Long Positions and 5 Stop Loss triggers for Short Positions. Many of the Buy or Sell Signal parameters function as Take Profit and Stop Loss...
English
Select market data provided by ICE Data services.
Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.
© 2025 TradingView, Inc.
More than a product
Supercharts
Screeners
Stocks
ETFs
Bonds
Crypto coins
CEX pairs
DEX pairs
Pine
Heatmaps
Stocks
ETFs
Crypto
Calendars
Economic
Earnings
Dividends
More products
Yield Curves
Options
News Flow
Pine Script®
Apps
Mobile
Desktop
Tools & subscriptions
Features
Pricing
Market data
Trading
Overview
Brokers
Special offers
CME Group futures
Eurex futures
US stocks bundle
About company
Who we are
Athletes
Blog
Careers
Media kit
Merch
TradingView store
Tarot cards for traders
The C63 TradeTime
Policies & security
Terms of Use
Disclaimer
Privacy Policy
Cookies Policy
Accessibility Statement
Security tips
Bug Bounty program
Status page
Community
Social network
Wall of Love
Refer a friend
House Rules
Moderators
Ideas
Trading
Education
Editors' picks
Pine Script
Indicators & strategies
Wizards
Freelancers
Business solutions
Widgets
Charting libraries
Lightweight Charts™
Advanced Charts
Trading Platform
Growth opportunities
Advertising
Brokerage integration
Partner program
Education program
Look First
Close
Updated 3 hours ago
Institutional Analyst Board
Manage access
Remove from favorites
Use on chart
0
11
Jul 19
📊 Institutional Analyst Board – Smart Money Confluence Scanner for XAUUSD, Forex, Crypto
🔍 Overview
The Institutional Analyst Board is a complete multi-timeframe smart money toolkit designed for traders who demand clarity, confluence, and precision. It brings together institutional-grade metrics—Order Blocks (OB), Fair Value Gaps (FVG), Liquidity Sweeps, MACD/RSI bias, VWAP positioning, and Break of Structure (BoS)—into a single powerful visual dashboard.
This indicator is especially optimized for Gold (XAUUSD) but is also compatible with Crypto and Forex assets.
🧠 Key Features
✅ Multi-Timeframe Dashboard (5M / 15M / 1H)
✅ Order Block Detection with dynamic zones that extend until broken
✅ Fair Value Gap Detection with clear zone shading and border distinction
✅ MACD + RSI Confluence for momentum and bias alignment
✅ VWAP Positioning to identify premium/discount zones
✅ Liquidity Sweeps (internal/external range breaks)
✅ Killzone Highlighting (Asia / London / New York)
✅ Break of Structure (BoS) with advanced confluence filters
✅ Gold Bias Flags across timeframes (BUY / SELL / NEUTRAL)
✅ Dynamic Price Watermark with real-time data
✅ Fully customizable colors, transparencies, and text labels
🧠 How It Works
The Board uses institutional logic to analyze the chart in real time:
Metric Purpose
OB Zones Highlight potential smart money footprints where price is likely to react.
FVG Zones Identify imbalance areas between buyers and sellers—ideal for mean reversion entries.
MACD/RSI Confirm momentum direction and relative strength confluence.
VWAP Determine whether price is trading at a premium or discount.
Liquidity Sweeps Detect manipulative moves before major reversals.
BoS Mark potential trend reversals, filtered by institutional confluence.
Each signal is computed across 3 timeframes and visualized in a clean board that updates live. You’ll also see labels, alerts, and session overlays for maximum clarity.
📌 Ideal Use Case
This tool is perfect for:
Funded Challenge Traders (FTMO, MyForexFunds, etc.)
Gold scalpers and intraday traders
Crypto price action traders using BTC, ETH, SOL, etc.
Smart Money Concept (SMC) and ICT followers
⚙️ Customization Options
Toggle each module (OB, FVG, VWAP, MACD/RSI, etc.)
Set transparency and color for each zone type
Adjust Killzone timing (Asia, London, NY)
Control board position (Top/Bottom) and metric visibility
📈 Compatible Assets
✅ XAUUSD (optimized)
✅ Forex majors/minors
✅ Crypto pairs (BTC, ETH, SOL, etc.)
✅ Indices (GER40, NASDAQ, SPX with minor adaptation)
🛠️ Requirements
Use on TradingView v5
Set chart time to UTC+0 or UTC+3 for optimal Killzone accuracy
For crypto, redefine Killzone hours if needed (24/7 market)
🧠 Pro Tip
Pair this indicator with volume profile tools, CVD/Delta Flow, or Footprint overlays to build high-confidence trade setups with clear institutional confluence.
Pineify Signals and OverlaysIndicator Theoretical Basis
Pineify Signals and Overlays is an invite-only trend-following and reversal-detection toolkit that fuses four well-known concepts— Dow-Theory trend phases , a multi-pair EMA cloud, QQE momentum, and ATR-based risk management—into a single, weight-balanced engine. An optional multi-time-frame (MTF) filter aligns lower-time-frame signals with higher-time-frame structure, helping traders avoid counter-trend setups. All components can be toggled from the settings panel, and a beginner “One-Click” preset loads a conservative profile out of the box.
Why it’s a single script: The algorithm scores every bar on three orthogonal axes—trend, momentum, and volatility—then issues context-aware arrows and coloured clouds only when the axes agree within user-defined tolerances. This inter-locking logic cannot be reproduced by simply stacking independent indicators on a chart, hence the need for an integrated implementation.
Trend Confirmation
Trend Confirmation: This indicator presents two types of market trends: the primary trend and the secondary trend. The primary trend is the long - term direction of the market and can last for days or months; the secondary trend is the adjustment phase within the primary trend.
This indicator uses the EMA (Exponential Moving Average) and visualizes the trend phases through color filling. The judgment of the trend is that blue plus green indicates a bullish trend, and yellow plus red indicates a bearish trend.
The primary trend of this indicator is visualized by two sets of moving averages through color filling. These two sets of moving averages are used to describe the short - term and long - term trends in the market.
The short - period moving averages and the long - period moving averages each consist of 4 moving averages, with a total of 8 moving averages, representing the short - term fluctuations and trends of the market.
Trend Persistence: Once the primary trend is formed, it will persist for a period of time. This indicator judges based on the Dow Theory. Short - term market fluctuations do not necessarily reflect changes in the primary trend. Therefore, the judgment direction of the primary trend is visualized through color.
The Signals of Buying, Selling and Closing
In the primary trend, we can see signals of trend reversal. This indicator incorporates the "Consecutive Candles". The indicator mainly identifies the overbought or oversold state of the market through a series of consecutive conditions, so as to predict the reversal point. The core of this indicator is to identify a series of consecutive price movements in the market trend and determine whether the market is about to reverse based on this sequence. We visualize the turning points through buy and sell signals.
The trend confirmation system utilizes four pairs of Exponential Moving Averages (EMAs) creating dynamic cloud formations that visualize market direction. Short-period EMAs (5, 8, 20, 34) interact with longer-period EMAs (9, 13, 21, 50) to generate color-coded trend clouds . Blue and green clouds indicate bullish conditions, while yellow and red clouds signal bearish trends, providing immediate visual trend identification.
The presentation of buying and selling points, namely "Quantitative Qualitative Estimation", is a technical indicator that combines the concepts of the Relative Strength Index (RSI) and moving averages. It is used to evaluate market trends, overbought and oversold conditions, as well as potential trend reversal points. The oscillator has a relatively long smoothing period, making the indicator relatively stable, thus enabling the visualization of buy + and sell + signals for trading.
ATR Stop - Loss Line
ATR (Average True Range) is an indicator for measuring market volatility. By using the ATR value to set the stop - loss distance, the stop - loss level can be automatically adjusted according to market volatility, making the stop - loss more flexible.
Core principle
Trend-Cloud Engine
EMA Pairs (5, 8, 20, 34 vs 9, 13, 21, 50)—Two four-EMA sets form “fast” and “slow” envelopes. When the volume-weighted mean of the fast set sits above the slow set and both slopes are positive, the bar is tagged primary bullish; the inverse tags primary bearish. Cloud colours (blue/green vs yellow/red) mirror Dow Theory’s primary/secondary trend hierarchy.
Momentum & Exhaustion Layer
QQE Oscillator (RSI 14, factor 4.238) detects momentum extremes and smooths noise more than a raw RSI, making it better suited for multi-time-frame use.
Consecutive-Candle Counter (default 8) highlights potential exhaustion after extended unidirectional moves; reversal symbols appear only if QQE divergence also exists.
Volatility-Adjusted Risk Line
ATR Trailing Stop (ATR 21, dynamic multiplier) expands in high volatility and tightens in low volatility, offering an adaptive exit reference rather than a fixed-tick stop.
Multi-Time-Frame Confirmation
The script automatically chooses a higher aggregation (e.g., 4 × the chart timeframe) and requires primary-trend agreement before issuing “Long ▲+” or “Short ▼+” confirmations. This guards against false signals during counter-trend rebounds.
Recommended parameters
RSI Length: 14 (QQE calculation base)
QQE Factor: 4.238 (Fibonacci-based multiplier)
ATR Period: 21 (volatility measurement)
EMA Lengths: Configurable short (5,8,20,34) and long (9,13,21,50) periods
Consecutive Candles: Selectable count (8)
Multi-timeframe Filter: Filter is enabled by default, resulting in more accurate signals.
Filters
The multi-timeframe filter enhances signal reliability by confirming trends across higher timeframes. This prevents counter-trend trades by ensuring alignment between current chart timeframe and broader market direction. The filter automatically calculates appropriate higher timeframes for trend confirmation.
Signals & Alerts
The indicator system exports multiple alert signals, and you can easily alert for any signal.
Up Trend : Primary long signal appears
Long - ▲ : Buy signal appears
Long - ▲+ : Confirmation buy signal appears
Long - ● : Primary reversal signal appears
Long - ☓ : Secondary reversal signal appears
Down Trend : Primary short signal appears
Short - ▼ : Sell signal appears
Short - ▼+ : Confirmation sell signal appears
Short - ● : Primary reversal signal appears
Short - ☓ : Secondary reversal signal appears
Originality & Value for Traders
Integrated scoring logic ensures signals fire only when trend, momentum, and volatility metrics corroborate, reducing “indicator conflict”.
Auto-computed MTF pairs mean no manual timeframe juggling.
Weight-balanced QQE/EMA blend creates smoother trend clouds than standard MA crosses, yet remains more responsive than Keltner or Donchian approaches.
One-click beginner profile plus full parameter access supports both novice and advanced users.
Risk Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Pineify) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Palgo Trading - Palgo🎯THE PALGO INDICATOR
The "Palgo Trading - Palgo" indicator, developed by PALGOTRADING is a sophisticated technical analysis tool designed to identify potential buy and sell signals by combining trend analysis with momentum and optional AI-driven sentiment assessment. This indicator provides a clear visual representation of potential trading opportunities directly on the price chart.
At its core, the Palgo indicator synthesizes information from well-established technical analysis concepts with statistical functions, and has optional AI Integration for social analysis of the asset using external data :
Supertrend: This indicator identifies the prevailing trend direction. A positive Supertrend value suggests an upward trend, while a negative value indicates a downward trend. The Palgo indicator utilizes a Supertrend with a customizable multiplier and a user-configurable Average True Range (ATR) length (defaulting to 21).
🛜Signal Generation Logic
The indicator generates buy and sell signals based on a calculated "final direction" value. This value is derived by combining the Supertrend direction and a modified RSI. The modification involves scaling the RSI output to a range of -0.5 to 0.5 and then further adjusting it.
The buy and sell conditions are as follows:
Buy Signal: A buy signal is triggered when the "final direction" crosses above a positive activation threshold while the current signal is not already bullish. Upon signal generation, a "Buy" label (colored green) appears below the bar, and initial Take Profit (TP) and Stop Loss (SL) levels are calculated and stored.
Sell Signal: Conversely, a sell signal is triggered when the "final direction" crosses below a negative activation threshold while the current signal is not already bearish. A "Sell" label (colored red) is plotted above the bar, and corresponding TP and SL levels are determined.
✅ Optimized Take-Profit / Stop-Loss
The Take-Profit (TP) & Stop-Loss (SL) signals are optimized with Kernel Density Estimation (KDE), the script uses KDE activated by gaussian function on previous pivot points and trains the model, then tries to estimate new pivot points early, to determine new TP / SL levels for the current signal. Kernel Density Estimation takes values of the previous confirmed pivots' RSI values, body size & more factors to determine their role. This indicator can generate up to 5 TP signals per signal.
📈 Signal Trail
Palgo also includes a "Signal Trail" that visually shows the market's momentum. This trail is like a dynamic line that follows the price.
When the market is in an uptrend and looking strong, you'll see a green trail.
When it's in a downtrend and looking weak, you'll see a red trail.
This trail helps you see if the market is currently aligned with Palgo's bullish (buy) or bearish (sell) signal. It also acts as a visual guide for potential support or resistance levels.
📊Backtesting Dashboard
The Palgo indicator includes an optional Backtesting Dashboard to help you understand its historical performance. This dashboard appears directly on your chart and provides a quick summary of how the indicator's signals have performed in the past.
Here's what you'll see on the dashboard:
Sensitivity: This shows the specific "Sensitivity" setting you've chosen for the indicator. This setting influences how often signals are generated.
Wins: This number tells you how many trades initiated by the Palgo indicator historically ended in profit (reached a Take-Profit target or closed profitably when the signal reversed).
Loss: This number indicates how many trades historically ended in a loss (hit the Stop-Loss).
Winrate: This is a very important metric, displayed as a percentage. It shows you the proportion of winning trades compared to the total number of trades (Wins / (Wins + Loss)). A higher winrate generally suggests a more effective strategy.
This dashboard is a valuable tool for reviewing the indicator's effectiveness with different settings and helping you make informed decisions about its use in your trading.
🤖AI Integration (Optional):
A unique feature of the Palgo indicator is the optional integration of Artificial Intelligence (AI) sentiment analysis. When the "Use AI" input is enabled, the indicator incorporates two additional user-defined inputs:
Impression Change %: This input represents the percentage change in overall market sentiment as assessed by an external AI.
Positivity Change: This input reflects the change in positive sentiment, also provided by an AI.
These AI inputs are combined to create an "AI Score," which then influences the "final direction" calculation. A positive AI Score amplifies the bullish signals and dampens bearish signals, while a negative AI Score has the opposite effect.
❓Why PALGO ?
All-in-One Analysis: Palgo combines trend, momentum, and advanced statistical analysis into one easy-to-use tool, giving you a complete picture without needing multiple indicators.
Dynamic Profit & Loss Management: Unlike many tools with fixed targets, Palgo's smart profit and stop-loss system adapts to the market using KDE. This helps you potentially capture more gains and limit losses effectively.
Optional AI Insights: For an extra edge, Palgo can tap into Artificial Intelligence (AI) to gauge overall market mood. If the AI sees a lot of positive buzz, it can strengthen buy signals; if it's negative, it can reinforce sell signals. This helps you trade with a better understanding of the market's pulse.
Clear and Customizable: Palgo is designed to be very visual. It changes the color of the price bars, adds clear "Buy" or "Sell" labels, and marks your profit and stop-loss points. You can also change the colors to suit your preference.
Palgo aims to be a comprehensive and adaptable trading tool, giving you clearer insights.
⚙️Visualizations and Customization
The Palgo indicator offers several visual cues to aid traders:
Bar Coloring: The price bars are colored green when the indicator identifies a bullish signal and red during a bearish signal.
Signal Labels: Clear "Buy" and "Sell" labels are plotted at the signal generation points.
Take Profit and Stop Loss Markers: Distinct shapes and labels indicate when the price reaches the calculated TP and SL levels.
Style Options: Users can customize the colors for bullish and bearish bars, text, and TP/SL markers within the indicator's settings.
Bullish and Bearish Breakout Alert for Gold Futures PullbackBelow is a Pine Script (version 6) for TradingView that includes both bullish and bearish breakout conditions for my intraday trading strategy on micro gold futures (MGC). The strategy focuses on scalping two-legged pullbacks to the 20 EMA or key levels with breakout confirmation, tailored for the Apex Trader Funding $300K challenge. The script accounts for the Daily Sentiment Index (DSI) at 87 (overbought, favoring pullbacks). It generates alerts for placing stop-limit orders for 175 MGC contracts, ensuring compliance with Apex’s rules ($7,500 trailing threshold, $20,000 profit target, 4:59 PM ET close).
Script Requirements
Version: Pine Script v6 (latest for TradingView, April 2025).
Purpose:
Bullish: Alert when price breaks above a rejection candle’s high after a two-legged pullback to the 20 EMA in a bullish trend (price above 20 EMA, VWAP, higher highs/lows).
Bearish: Alert when price breaks below a rejection candle’s low after a two-legged pullback to the 20 EMA in a bearish trend (price below 20 EMA, VWAP, lower highs/lows).
Context: 5-minute MGC chart, U.S. session (8:30 AM–12:00 PM ET), avoiding overbought breakouts above $3,450 (DSI 87).
Output: Alerts for stop-limit orders (e.g., “Buy: Stop=$3,377, Limit=$3,377.10” or “Sell: Stop=$3,447, Limit=$3,446.90”), quantity 175 MGC.
Apex Compliance: 175-contract limit, stop-losses, one-directional news trading, close by 4:59 PM ET.
How to Use the Script in TradingView
1. Add Script:
Open TradingView (tradingview.com).
Go to “Pine Editor” (bottom panel).
Copy the script from the content.
Click “Add to Chart” to apply to your MGC 5-minute chart .
2. Configure Chart:
Symbol: MGC (Micro Gold Futures, CME, via Tradovate/Apex data feed).
Timeframe: 5-minute (entries), 15-minute (trend confirmation, manually check).
Indicators: Script plots 20 EMA and VWAP; add RSI (14) and volume manually if needed .
3. Set Alerts:
Click the “Alert” icon (bell).
Add two alerts:
Bullish Breakout: Condition = “Bullish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Bearish Breakout: Condition = “Bearish Breakout Alert for Gold Futures Pullback,” trigger = “Once Per Bar Close.”
Customize messages (default provided) and set notifications (e.g., TradingView app, SMS).
Example: Bullish alert at $3,377 prompts “Stop=$3,377, Limit=$3,377.10, Quantity=175 MGC” .
4. Execute Orders:
Bullish:
Alert triggers (e.g., stop $3,377, limit $3,377.10).
In TradingView’s “Order Panel,” select “Stop-Limit,” set:
Stop Price: $3,377.
Limit Price: $3,377.10.
Quantity: 175 MGC.
Direction: Buy.
Confirm via Tradovate.
Add bracket order (OCO):
Stop-loss: Sell 175 at $3,376.20 (8 ticks, $1,400 risk).
Take-profit: Sell 87 at $3,378 (1:1), 88 at $3,379 (2:1) .
Bearish:
Alert triggers (e.g., stop $3,447, limit $3,446.90).
Select “Stop-Limit,” set:
Stop Price: $3,447.
Limit Price: $3,446.90.
Quantity: 175 MGC.
Direction: Sell.
Confirm via Tradovate.
Add bracket order:
Stop-loss: Buy 175 at $3,447.80 (8 ticks, $1,400 risk).
Take-profit: Buy 87 at $3,446 (1:1), 88 at $3,445 (2:1) .
5. Monitor:
Green triangles (bullish) or red triangles (bearish) confirm signals.
Avoid bullish entries above $3,450 (DSI 87, overbought) or bearish entries below $3,296 (support) .
Close trades by 4:59 PM ET (set 4:50 PM alert) .
Head & Shoulders Pattern (Zeiierman)█ Overview
The Head & Shoulders Pattern (Zeiierman) is an advanced pattern recognition tool that automatically detects and visualizes one of the most powerful reversal patterns in technical analysis — the classic Head & Shoulders and Inverse Head & Shoulders formations .
This indicator brings structure clarity directly onto the price chart, allowing traders to instantly spot potential major reversal zones without manually drawing or searching for patterns.
It doesn't just draw lines — it intelligently scans price action for symmetry, pivot behavior, and neckline structures — then projects realistic price targets based on the pattern's height.
⚪ In simple terms:
▸ Standard Head & Shoulders → Bearish Reversal Pattern
▸ Inverse Head & Shoulders → Bullish Reversal Pattern
▸ Target Projection → Estimated Move from Neckline Break
▸ Labels → Clear annotation of Left Shoulder, Head, and Right Shoulder
█ How It Works
The indicator combines multiple technical detection layers into a clean visual model:
⚪ Dynamic Pivot Engine
Automatically detects pivot highs and lows based on user-defined Period.
Longer Period = Broader, higher-confidence patterns
Shorter Period = Smaller, more frequent patterns
⚪ Pattern Detection Logic
Scans pivot structures in real-time to identify valid:
Bearish Head & Shoulders (H&S)
Bullish Inverse Head & Shoulders (iH&S)
Conditions include:
▸ Symmetry validation
▸ Head above (or below) Shoulders
▸ Neckline structure
▸ Minimum price conditions met
█ How to Use
⚪ Reversal Trading
Look for Head & Shoulders at the top of an uptrend
Look for Inverse Head & Shoulders at the bottom of a downtrend
⚪ What makes our tool truly unique is that it goes beyond the traditional textbook definition.
Our custom Head & Shoulders algorithm is built with flexibility and adaptability in mind. It dynamically responds to real-time price action, allowing it to detect valid patterns not only at major trend reversals — but also within trending environments.
That means you can spot Head & Shoulders formations at:
Consolidation zones
Trend continuation areas
Corrective phases within established trends
It doesn’t have to be the absolute top or bottom of a move — and that’s the real power of this tool. It adapts. It evolves. It finds structure where most indicators stay blind.
█ Common Real-World Stop Loss Strategies with Head & Shoulders Patterns
Not all Head & Shoulders patterns are created equal — and neither are the stop loss strategies used to trade them.
Depending on your trading style, risk tolerance, and market context — here are the 3 most common ways traders manage stop placement when trading Head & Shoulders (H&S) or Inverse Head & Shoulders (iH&S) patterns:
⚪ Conservative Stop Placement
Maximum Safety — Minimum Chance of Being Stopped Prematurely
Stop Placement:
Above the Head (Bearish H&S)
Below the Head (Bullish iH&S)
Pros: Safest approach. Provides maximum protection against false breakouts and noise.
Cons: Often results in very large stop losses, especially on bigger patterns or higher timeframes. Risk-to-Reward (RR) can be poor unless the target is far.
⚪ Aggressive Stop Placement
Tighter Risk — Faster Invalidations
Stop Placement:
Above the Right Shoulder (Bearish H&S)
Below the Right Shoulder (Bullish iH&S)
Pros: Smaller stop losses. Improved RR. Ideal for traders who want tighter control over risk.
Cons: Higher chance of getting stopped on retests or minor volatility around the neckline zone.
⚪ Neckline Reclaim Invalidation
Dynamic & Price-Action Based Exit
Stop Placement:
Exit the trade if price closes back above (bearish) or below (bullish) the neckline after breaking it.
Pros: Dynamic approach based on market behavior rather than static levels. Allows more flexibility.
Cons: Requires active trade management. Not suitable for fully automated or set-and-forget trading styles.
█ Why It's Useful
This is not a basic pattern drawing tool — it's a complete detection system built for traders who want to:
Automatically detect powerful reversal patterns
Avoid the subjectivity of manually drawing H&S structures
Trade with clear target projections
Identify high-probability reversal zones
Visually map structure shifts in real-time
█ Settings
Pivot Detection
Period → Number of bars used to scan for pivots (Higher = Bigger patterns)
Pattern Detection
Enable Bullish Head & Shoulders
Enable Bearish Head & Shoulders
Visualization
Customize Colors (Lines, Fills, Labels)
Enable/Disable Labels
Pattern Style: Closed / Open
Custom Label Colors
Target Projection
Enable/Disable Target Projection
Customize Target Colors
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Multi-Timeframe Liquidity Zones V6 (Table)Multi-Timeframe Liquidity Zones V6 (Table) Indicator: Functionality and Uses
Overview: The Multi-Timeframe Liquidity Zones V6 (Table) indicator is a technical analysis tool that highlights key volume-based support and resistance levels across multiple timeframes. It leverages volume profile concepts – specifically the Point of Control (POC) and Value Area High/Low (VAH/VAL) – to identify “liquidity zones” where trading activity was heaviest . Unlike a standard single-timeframe volume profile, this indicator compiles data from several timeframes (e.g. monthly, weekly, daily, intraday) and displays the results in a convenient table format on the chart. The goal is to give traders a consolidated view of important price levels (derived from volume concentrations) across different horizons, helping them plan trades with a broader market perspective.
Purpose and Functionality of the Indicator
Multi-Timeframe Analysis: The primary objective of this indicator is to simplify multi-timeframe analysis of volume distribution. Rather than manually checking volume profiles on separate charts for each timeframe, the tool automatically calculates the key levels for each selected timeframe and presents them together. This includes higher-level perspectives (like monthly or weekly volume hotspots) alongside shorter-term levels (daily or hourly), ensuring that traders don’t miss significant zones from any timeframe . By offering a broader perspective on support and resistance levels, multi-timeframe tools help improve risk management and signal confirmation , and this indicator is designed to provide that volume-based perspective at a glance.
Table Format Display: Multi-Timeframe Liquidity Zones V6 (Table) specifically presents the information as a table (as opposed to plotting lines on the chart). Each row in the table typically corresponds to a timeframe (for example, Monthly, Weekly, Daily, 4H, 1H, 30M, 15M), and the columns list the calculated POC, VAH, VAL, and possibly the average volume for that timeframe’s look-back period. By structuring the data in a table, traders can quickly read off the exact price levels of these liquidity zones without having to visually trace lines. This format makes it easy to compare levels across timeframes or note where multiple timeframes’ levels cluster near the same price – a sign of especially strong support/resistance. The indicator uses a user-defined number of bars or length of history for each timeframe to calculate these values (so you can adjust how far back it looks to define the volume profile for each period).
Objective: In summary, the functionality is geared toward identifying high-liquidity price zones across multiple time scales and presenting them clearly. These high-liquidity zones often coincide with areas where price reacts (stalls, reverses, or accelerates) because a lot of trading activity (hence, orders and volume) took place there in the past. The indicator’s objective is to alert the trader to those areas in advance. It effectively answers questions like: “Where are the major volume concentration levels on the 1-hour, daily, and weekly charts right now?” and “Are there overlapping volume-based support/resistance levels from different timeframes around the current price?” By compiling this information, the indicator helps traders incorporate context from multiple timeframes in their decision-making, without needing to flip through numerous charts.
Identifying Liquidity Zones with POC, VAH, and VAL
Liquidity Zones Defined: In market terms, a “liquidity zone” is an area of the chart where a significant amount of trading occurred, meaning high liquidity (many buyers and sellers exchanged volume there). These zones often act as support or resistance because past heavy trading indicates consensus or interest around those price levels. This indicator identifies liquidity zones through volume profile analysis on each timeframe’s recent price action. Essentially, it looks at the distribution of trading volume at different prices over the specified period and finds the value area – the range of prices that encompassed the majority of that volume (commonly around 70% of the total volume ). Within that value area, it pinpoints the Point of Control (POC), which is the single price level that had the highest traded volume (the peak of the volume profile) . The upper and lower boundaries of that high-volume range are marked as Value Area High (VAH) and Value Area Low (VAL) respectively . Together, the VAH and VAL define the liquidity zone where the market spent most of its time and volume, and POC highlights the most traded price in that zone.
• Point of Control (POC): The POC is the price level with the greatest volume traded for the given period. It represents the price at which the most liquidity was exchanged – effectively the market’s “center of gravity” for that timeframe’s trading activity . The indicator calculates the POC for each selected timeframe by scanning the volume at each price; the price with maximum volume is flagged as that timeframe’s POC. In the table, the POC might be highlighted or listed as a key level (sometimes traders color-code it or mark it for emphasis). Because so many positions were opened or closed at the POC, it often serves as a strong support/resistance. For example, if price falls to a major POC from above, traders expect buyers may step in there (since it was a popular buy/sell level historically), potentially causing a bounce. Conversely, if price breaks through a POC decisively, it may signal a significant shift in market acceptance.
• Value Area High (VAH) and Low (VAL): The VAH and VAL are the price boundaries of the value area, which is typically defined to contain about 70% of the total traded volume for the period . In other words, between VAH and VAL is where the “bulk” of trading occurred, and outside this range is where relatively less volume traded. The indicator derives VAH/VAL by accumulating volume from the highest-volume price (POC) outward until ~70% of volume is covered (this is a common method for volume profile value area). VAH is the top of this high-volume region and VAL is the bottom. These levels are important because they often act like support/resistance boundaries: when price is inside the value area, it’s in a high-liquidity zone and tends to oscillate between VAH and VAL; when price moves above VAH or below VAL, it’s leaving the high-volume zone, which can indicate a potential trend or imbalance (price entering a lower-liquidity area where it might move faster until finding the next liquidity zone). Traders watch VAH/VAL for signs of rejection or acceptance: for instance, a price rally that falters at VAH suggests that level is acting as resistance (sellers defending that high-volume area), whereas if price pushes above VAH, it may continue until the next timeframe’s zone or until it finds new interest. The Multi-Timeframe Liquidity Zones V6 indicator gives the VAH and VAL for each timeframe, essentially mapping out the upper and lower bounds of key liquidity zones at those scales.
How the Indicator Identifies These: Under the hood, the indicator likely uses historical price and volume data for each timeframe’s lookback window. For each timeframe (say the last 20 weekly bars for a weekly profile, last 100 daily bars for a daily profile, etc.), it constructs a volume profile (a histogram of volume at each price). From that distribution, it finds the POC (highest volume bin) and calculates VAH/VAL around it. The output is a set of numbers (price levels) that mark where those zones lie. In practice, if using the Lines version of this indicator, those levels are drawn as horizontal lines on the chart and labeled by timeframe (e.g., a line at 1.2345 labeled “D POC” for Daily POC) . In the Table version, those values are instead listed in text form. Either way, the identification process is the same – it’s finding the high-volume price regions on each timeframe and calling them out. By doing this for multiple timeframes concurrently, the indicator reveals how these liquidity zones from different periods relate to each other. For example, you might discover that a daily-chart value area overlaps with a weekly-chart POC, creating a particularly strong zone of interest. This kind of insight is hard to get from a single timeframe analysis alone.
Volume Profile Data Across Multiple Timeframes
Multiple Timeframes in One View: One of the biggest advantages of this indicator is the ability to see volume profile information from various timeframes side by side. Traders often perform multiple timeframe analysis to get a fuller picture — for instance, checking monthly or weekly levels for long-term context while planning a trade on a 4-hour chart. This indicator automates that process for volume-based levels. The table will typically list each chosen timeframe (which could be preset or user-selected). For each timeframe, you get the POC, VAH, VAL, and possibly an average volume metric. The “average volume” likely refers to the average volume per bar or the average volume traded over the profile’s duration for that timeframe, which gives a sense of how significant that period’s activity is. For example, a weekly profile might show an average volume of say 500k per week, versus a daily profile average of 80k per day – indicating the scale of trading on weekly vs daily. High average volume on a timeframe means its liquidity zones were formed with a lot of participation, possibly making them more reliable support/resistance. By comparing these, traders can gauge which timeframes had unusually high or low activity recently. The table format makes such comparisons straightforward.
Identification of Confluence: Because all the data is presented together, traders can quickly spot confluence or overlaps between timeframes. If two different timeframes show liquidity zones at similar price levels, that price becomes extremely noteworthy. For instance, suppose the indicator shows: a 1-hour POC at 1.1300, a 4-hour VAL at 1.1280, and a daily VAL at 1.1290. These are all in a tight range – effectively indicating a multi-timeframe liquidity zone around 1.1280–1.1300. A trader seeing this cluster in the table will recognize that as a strong support area, since multiple profiles from intraday to daily all suggest heavy trading interest there. Similarly, overlaps of VAH (resistance zone) from different timeframes could signal a strong ceiling. The multi-timeframe view prevents a trader from, say, going long into a major weekly POC above, or shorting when there’s a huge monthly value-area low just below – situations where awareness of higher timeframe volume structure can make the difference between a good and bad trade.
User Customization: The indicator is flexible in that you can typically adjust which timeframes to include and how many bars to use for each timeframe’s calculation. For example, one might configure it to calculate monthly levels using the past 12 monthly bars (1 year of data), weekly levels using the past 20 weeks, daily using 100 days, etc., depending on preference. By tuning the “bars count” or period length , the trader can focus on recent liquidity zones or incorporate more history if desired. Shorter lookback might catch more recent shifts in volume distribution (important if the market structure changed recently), while longer lookback gives more established levels. This customization ensures the indicator’s output can be tailored to different trading styles (short-term vs swing vs long-term investing). Regardless of settings, the multi-timeframe table allows simultaneous visibility of the chosen timeframes’ volume landscape. This comprehensive view is the core strength: it consolidates data that normally requires flipping through multiple charts.
Using the Liquidity Zones Data for Trading Decisions
Traders can use the information from the MTF Liquidity Zones V6 (Table) indicator in several practical ways to enhance their decision-making:
• Identify Support and Resistance: Each liquidity zone acts as a potential support or resistance area. For example, if the table shows a daily VAH at a certain level above the current price, that level might serve as resistance if the price rallies up to it (since it marks the top of a high-volume region where sellers might step in). Conversely, a weekly VAL below current price could act as support on a dip. By noting these levels in the table, a trader planning an entry or exit can anticipate where the price might stall or reverse. Essentially, you get a map of high-interest price levels from different timeframes, which you can mark on your trading chart for guidance.
• Plan Entries and Exits Around Key Levels: Many traders incorporate volume profile levels into their strategies, for instance: buying near VAL (betting that the value area will hold and price will revert upward), or selling/shorting near VAH (expecting the top of value to hold as resistance), or trading breakouts when price moves outside the value area. With the multi-timeframe table, one can refine these tactics by also considering higher timeframe levels. Suppose you see that on the 1-hour chart the price is just above its 1H POC, but the table indicates that just slightly above, there’s also the daily POC. You might delay a long entry until price clears that daily POC, because that could be a stronger intraday barrier. Or if you intend to take profit on a long trade, you might choose a target just below a weekly VAH since price may struggle to climb past that on the first attempt. The indicator thus acts as a guide for precision in entry/exit decisions, aligning them with where liquidity is high.
• Gauge Trend Strength and Directional Bias: By observing where current price is relative to these volume zones, traders can infer certain market conditions. For instance, if price is trading above the VAH of multiple timeframes’ value areas, it suggests the market is in a more bullish or overextended territory (price accepted above prior value), whereas if price is below multiple VALs, it’s in bearish or undervalued territory relative to recent history. If the price stays around a POC, it indicates consolidation or equilibrium (market comfortable at that price). Traders can use this context for bias – e.g., if price is above the weekly VAH, you might lean bullish but watch for potential pullbacks to that VAH level (now a support). If price is below the monthly VAL, you might avoid longs until it re-enters that value area. In essence, the liquidity zones provide context of value vs. price: is price trading within the high-volume areas (implying range-bound behavior) or outside them (implying a breakout or trending move)? This can prevent chasing trades at poor locations.
• Combine with Other Indicators/Analysis: It’s generally advised to not use any single indicator in isolation, and this holds true here. The liquidity zones from this indicator are best used alongside price action or other technical signals for confirmation . For example, if a bullish candlestick reversal pattern forms right at a confluence of a 4H VAL and Daily POC, that’s a stronger buy signal than the pattern alone. Or if an oscillator shows overbought exactly as price hits a weekly VAH, it adds conviction to a possible short. The indicator’s table basically gives you a shortlist of critical price levels; you can then watch how price behaves at those levels (via candlesticks, order flow, etc.) to make the final trade decision. Traders might set alerts for when price approaches one of the listed levels, or they might drop down to a lower timeframe to fine-tune an entry once a key zone is reached. By integrating this volume-based insight with trend analysis, chart patterns, or momentum indicators, one can make more informed and high-probability decisions rather than trading in the dark.
• Risk Management and Stop Placement: High-liquidity zones can also inform stop-loss placement. Ideally, you want your stop on the other side of a strong support/resistance. If you go long near a VAL, you might place your stop just below the VAL (since a move beyond that suggests the high-volume zone didn’t hold). If you short near a VAH, a stop just above the VAH or POC could be logical. Moreover, if multiple timeframes show overlapping zones, a stop beyond all of them could be even safer (albeit at the cost of a wider stop). The indicator helps identify those spots. It also warns you of where not to put a stop – for example, placing a stop-loss right at a POC might be unwise because price could gravitate to that POC repeatedly (due to its magnetic effect as a high-volume price). Instead, a trader might choose a stop beyond the far side of the value area. By using the table’s information, you can align your risk management with areas of high liquidity, reducing the chance of being whipsawed by normal volatility around heavily traded levels .
Benefits of the Multi-Timeframe Liquidity Zones Indicator
Using the Multi-Timeframe Liquidity Zones V6 (Table) indicator offers several key benefits for traders, ultimately aiming to streamline analysis and improve decision quality:
• Consolidated Key Levels: It provides a clear, consolidated view of crucial volume-driven levels from multiple timeframes all at once . This saves time and ensures you always account for major support/resistance zones that come from higher or lower timeframe volume clusters. You won’t accidentally overlook a significant weekly level while focused on a 15-minute chart, for example.
• Enhanced Multi-Timeframe Insight: By aligning information from long-term and short-term periods, the indicator helps traders see the “bigger picture” while still operating on their preferred timeframe. This multi-scale awareness can improve trade timing and confidence. You’re effectively doing multi-timeframe analysis with volume profiles in an efficient manner, which can confirm or caution your trade ideas (e.g., a trend looks strong on the 1H, but the table shows a huge monthly VAH just overhead – a reason to be cautious or take profit early).
• Improved Decision Making and Precision: Knowing where liquidity zones lie allows for more precise entries, exits, and stop placements. Traders can make informed decisions such as waiting for a pullback to a value area before entering, or taking profits before price hits a major POC from a higher timeframe. These decisions are grounded in objectively important price levels, potentially leading to higher probability trades and better risk-reward setups. It essentially enhances your strategy by adding a layer of volume context – you’re trading with an awareness of where the market’s interest is heaviest.
• Volume-Based Confirmation: Price alone can sometimes be deceptive, but volume tells the true story of participation. The liquidity zones indicator provides volume-based confirmation of support/resistance. If a price level is identified by this tool, it’s because significant volume happened there – adding weight to that level’s importance. This can help filter out false support/resistance levels that aren’t backed by volume. In other words, it highlights high-quality levels that many traders (and possibly institutions) have shown interest in.
• Adaptable to Different Trading Styles: Whether one is a scalper looking at intraday (15M, 5M charts) or a swing trader focusing on daily/weekly, the indicator can be configured to those needs. You choose which timeframes and how much data to consider. This means the concept of liquidity zones can be applied universally – from spotting intraday pivot levels with volume, to seeing long-term value zones on an investment. The consistent methodology of POC/VAH/VAL across scales provides a common framework to analyze any market and timeframe.
• Informed Risk Management: As discussed, the knowledge of multi-timeframe volume zones aids in risk management. By placing stops beyond major liquidity areas or avoiding trades that run into strong volume walls, traders can reduce the likelihood of whipsaw losses. It’s an extra layer of defense to ensure your trade plan accounts for where the market has historically found lots of interest (hence likely friction). This level of informed planning can be the difference between a well-managed trade and an avoidable loss.
In conclusion, the Multi-Timeframe Liquidity Zones V6 (Table) indicator serves as a powerful analytical aid, giving traders a structured view of where price is likely to encounter support or resistance based on volume concentrations across timeframes. Its functionality centers on identifying those liquidity zones (via POC, VAH, VAL) and presenting them in an easy-to-read format, while its ultimate purpose is to help traders make more informed decisions. By integrating this tool into their workflow, traders can more confidently navigate price action, knowing the objective volume-based landmarks that lie ahead. Remember that while these volume levels often coincide with strong S/R zones, it’s best to use them in conjunction with other technical or fundamental analysis for confirmation . When used appropriately, the indicator can streamline multi-timeframe analysis and enhance your overall trading strategy , giving you an edge in identifying where the market’s liquidity (and opportunity) resides.
Trend Zone Moving Averages📈 Trend Zone Moving Averages
The Trend Zone Moving Averages indicator helps traders quickly identify market trends using the 50SMA, 100SMA, and 200SMA. With dynamic background colors, customizable settings, and real-time alerts, this tool provides a clear view of bullish, bearish, and extreme trend conditions.
🔹 Features:
Trend Zones with Dynamic Background Colors
Green → Bullish Trend (50SMA > 100SMA > 200SMA, price above 50SMA)
Red → Bearish Trend (50SMA < 100SMA < 200SMA, price below 50SMA)
Yellow → Neutral Trend (Mixed signals)
Dark Green → Extreme Bullish (Price above all three SMAs)
Dark Red → Extreme Bearish (Price below all three SMAs)
Customizable Moving Averages
Toggle 50SMA, 100SMA, and 200SMA on/off from the settings.
Perfect for traders who prefer a cleaner chart.
Real-Time Trend Alerts
Get instant notifications when the trend changes:
🟢 Bullish Zone Alert – When price enters a bullish trend.
🔴 Bearish Zone Alert – When price enters a bearish trend.
🟡 Neutral Zone Alert – When trend shifts to neutral.
🌟 Extreme Bullish Alert – When price moves above all SMAs.
⚠️ Extreme Bearish Alert – When price drops below all SMAs.
✅ Perfect for Any Market
Works on stocks, forex, crypto, and commodities.
Adaptable for day traders, swing traders, and investors.
⚙️ How to Use: Trend Zone Moving Averages Strategy
This strategy helps traders identify and trade with the trend using the Trend Zone Moving Averages indicator. It works across stocks, forex, crypto, and commodities.
🟢 Bullish Trend Strategy (Green Background)
Objective: Look for buying opportunities when the market is in an uptrend.
Entry Conditions:
✅ Background is Green (Bullish Zone).
✅ Price is above the 50SMA (confirming strength).
✅ Price pulls back to the 50SMA and bounces OR breaks above a key resistance level.
Stop Loss:
🔹 Place below the most recent swing low or just under the 50SMA.
Take Profit:
🔹 First target at the next resistance level or recent swing high.
🔹 Second target if price continues higher—trail stops to lock in profits.
🔴 Bearish Trend Strategy (Red Background)
Objective: Look for shorting opportunities when the market is in a downtrend.
Entry Conditions:
✅ Background is Red (Bearish Zone).
✅ Price is below the 50SMA (confirming weakness).
✅ Price pulls back to the 50SMA and rejects OR breaks below a key support level.
Stop Loss:
🔹 Place above the most recent swing high or just above the 50SMA.
Take Profit:
🔹 First target at the next support level or recent swing low.
🔹 Second target if price keeps falling—trail stops to secure profits.
🌟 Extreme Trend Strategy (Dark Green / Dark Red Background)
Objective: Trade with momentum when the market is in a strong trend.
Entry Conditions:
✅ Dark Green Background → Extreme Bullish: Price is above all three SMAs (strong uptrend).
✅ Dark Red Background → Extreme Bearish: Price is below all three SMAs (strong downtrend).
Trade Execution:
🔹 For longs (Dark Green): Look for breakout entries above resistance or pullbacks to the 50SMA.
🔹 For shorts (Dark Red): Look for breakdown entries below support or rejections at the 50SMA.
Risk Management:
🔹 Use tighter stop losses and trail profits aggressively to maximize gains.
🟡 Neutral Trend Strategy (Yellow Background)
Objective: Avoid trading or wait for a breakout.
What to Do:
🔹 Avoid trading in this zone—price is indecisive.
🔹 Wait for confirmation (background turns green/red) before taking a trade.
🔹 Use alerts to notify you when the trend resumes.
📌 Final Tips
Use this strategy with price action for extra confirmation.
Combine with support/resistance levels to improve accuracy.
Set alerts for trend changes so you never miss an opportunity.
Enjoy!
Simple APF Strategy Backtesting [The Quant Science]Simple backtesting strategy for the quantitative indicator Autocorrelation Price Forecasting. This is a Buy & Sell strategy that operates exclusively with long orders. It opens long positions and generates profit based on the future price forecast provided by the indicator. It's particularly suitable for trend-following trading strategies or directional markets with an established trend.
Main functions
1. Cycle Detection: Utilize autocorrelation to identify repetitive market behaviors and cycles.
2. Forecasting for Backtesting: Simulate trades and assess the profitability of various strategies based on future price predictions.
Logic
The strategy works as follow:
Entry Condition: Go long if the hypothetical gain exceeds the threshold gain (configurable by user interface).
Position Management: Sets a take-profit level based on the future price.
Position Sizing: Automatically calculates the order size as a percentage of the equity.
No Stop-Loss: this strategy doesn't includes any stop loss.
Example Use Case
A trader analyzes a dayli period using 7 historical bars for autocorrelation.
Sets a threshold gain of 20 points using a 5% of the equity for each trade.
Evaluates the effectiveness of a long-only strategy in this period to assess its profitability and risk-adjusted performance.
User Interface
Length: Set the length of the data used in the autocorrelation price forecasting model.
Thresold Gain: Minimum value to be considered for opening trades based on future price forecast.
Order Size: percentage size of the equity used for each single trade.
Strategy Limit
This strategy does not use a stop loss. If the price continues to drop and the future price forecast is incorrect, the trader may incur a loss or have their capital locked in the losing trade.
Disclaimer!
This is a simple template. Use the code as a starting point rather than a finished solution. The script does not include important parameters, so use it solely for educational purposes or as a boilerplate.
MangAlgo X-V61. Overview & Purpose
The MangAlgo X-V6 script is a multi-component indicator designed to generate buy and sell signals on TradingView charts by combining several technical analysis techniques. It is tailored for various trading styles – including Scalping, Day Trading, and the custom MangAlgo approach – by automatically adjusting parameters based on the selected preset. The primary goal of the script is to deliver more accurate signals by integrating additional filters and a robust trade management system.
⸻
2. Key Features
• Trading Style Presets
• Three preset options: Scalping, Day Trading, and MangAlgo.
• The selected preset automatically adjusts key parameters such as Moving Average (MA) lengths, additional MA filters, and other settings to suit the trading style.
• SL/TP Settings (Stop Loss / Take Profit)
• Adjustable ATR multiplier for calculating the stop loss (SL).
• Multi-level TP (up to 5 levels) based on a configurable risk-reward ratio.
• Multiple Moving Average Types
• Supports various MA types: SMA, EMA, WMA, or VWMA (default is based on conditions).
• Two sets of MAs:
• Fast and Slow MAs for detecting crossovers as primary signals.
• Additional MA Filters (three additional MAs) used as further confirmation.
• Higher Timeframe Filter (HTF)
• Incorporates a moving average from a higher timeframe to provide broader trend context.
• The HTF MA is smoothed using SMA to ensure a stable trend indication.
• SuperTrend Indicator
• Calculates the SuperTrend level using ATR and a configurable multiplier (“Magic Number Factor”).
• Displays a dynamic trend line that changes color: green for an uptrend and red for a downtrend.
• Momentum & Candle Size Filters
• The momentum filter measures price strength using a momentum function over a set period.
• Optional candle size filtering allows you to disregard signals based on minimum and maximum candle sizes to reduce market noise.
• Session Filters
• Optionally filter signals based on trading sessions (New York, London, Tokyo, Sydney) to avoid low-liquidity periods.
• Directional Movement Index (DI)
• Computes DI+ and DI– using a smoothed True Range.
• Acts as an additional filter: a buy signal is valid if DI+ is greater than DI–, and vice versa for sell signals.
• Trade Signal Execution & Management
• Entry Signals:
• Buy: Triggered when the fast MA crosses above the slow MA, supported by SuperTrend, HTF MA, additional MAs, momentum, and DI confirmation (DI+ > DI–).
• Sell: Triggered when the fast MA crosses below the slow MA with corresponding filter confirmations (DI– > DI+).
• SL and TP Setup:
• The stop loss is computed using ATR and adjusted with a trailing SL as take profit levels are reached.
• TP levels (up to 5) are calculated based on the initial risk and a configurable risk-reward ratio.
• Visual Signal & Trade Outcome Display:
• Displays “𝗕𝗨𝗬” and “𝗦𝗘𝗟𝗟” labels on the chart when signals are active.
• Additional labels indicate SL and TP levels and whether the trade outcome was a win or loss once the SL is hit.
• Logging & Trade Statistics (Optional)
• Internal logging records trade details for each confirmed candle, helping you review strategy performance.
• An optional table display shows a summary of trade counts, win/loss results, and win rate percentages.
• Custom Candle Plotting
• Instead of using the standard barcolor(), the script uses plotcandle() to color the candles based on the active trade status:
• Green: Indicates an active buy position.
• Blue: Indicates an active sell position.
• Default colors: When no trade is active.
⸻
3. How It Works & Component Interaction
1. Preset Trading Style Selection:
• Users choose a trading style preset via the input, which sets the values for key parameters such as the type and length of MAs, additional filters, and more.
2. Core Technical Calculations:
• ATR Calculation: Used for range detection and setting the stop loss.
• Moving Averages: Computed through a custom function (f_ma()) based on the chosen MA type.
• Range Detection: The script identifies price ranges by comparing the price to the MA, visualizing the range with boxes and lines.
3. Trend Filtering & Signal Confirmation:
• SuperTrend: Computed using ATR and a multiplier to dynamically generate support/resistance levels.
• Higher Timeframe MA: Provides macro trend context by analyzing a higher timeframe’s data.
• Additional MA & Momentum Filters: Ensure that the price movement is not mere noise, but confirmed by extra layers of filtering.
• DI (Directional Movement): Validates entry signals by ensuring that the directional momentum (DI+) dominates for buys and DI– for sells.
4. Signal Execution & Trade Management:
• When all conditions are met (including session filtering and non-range conditions), a buy or sell signal is activated.
• Upon signal activation, a trade is initiated with a calculated SL and multiple TP levels based on risk parameters.
• As the price reaches a TP level, the script adjusts the stop loss (trailing SL) to lock in gains.
• Trade outcomes (win or lose) are visually labeled on the chart after the SL is hit.
5. Visualization & Logging:
• Trading signals and SL/TP levels are plotted on the chart.
• Custom candle plotting highlights active trades by altering candle colors.
• Trade logging captures detailed information for each candle, which can be used for performance evaluation.
⸻
4. How to Use the Script
• Initial Setup:
• Select your preferred trading style preset (e.g., Scalping, Day Trading, or MangAlgo).
• Adjust additional input parameters if needed, such as the ATR multiplier, number of TPs, or session filters.
• Interpreting Signals:
• Look for “𝗕𝗨𝗬” and “𝗦𝗘𝗟𝗟” labels on the chart as indicators of entry points.
• Use the plotted SL and TP levels as guides for risk management.
• Utilizing Additional Filters:
• Optionally enable the candle size filter and session filters to reduce false signals.
• Regularly monitor the chart and remember that this indicator is a tool that combines multiple technical methods for better signal accuracy.
• Trade Management:
• Use the provided trade outcome labels and logging information to assess and refine your strategy over time.
• If activated, review the trade summary table to analyze overall performance statistics.
⸻
5. Risk Disclaimer
Trading involves significant risk and may not be suitable for all investors.
The MangAlgo X-V6 script is provided for educational and informational purposes only. Past performance is not indicative of future results. Trading decisions based on this script are at the sole discretion of the user, and the creator or distributor of the script is not responsible for any financial losses incurred. Always perform your own analysis, use proper risk management techniques, and consult with a professional financial advisor if necessary.
Supertrend pro+ (Adaptive ATR) Supertrend Pro+ (Adaptive ATR) - Param Approach
By SKP
Overview
This advanced Supertrend Pro+ strategy improves on the classic Supertrend indicator by integrating an Adaptive ATR, ensuring dynamic volatility adjustments for more accurate trend detection. This strategy filters out false signals using ADX trend strength validation and volume confirmation, making it a powerful tool for trend-following traders.
Key Features
✔ Adaptive ATR Calculation - Dynamically adjusts to market volatility for more reliable Supertrend signals.
✔ ADX Trend Filter - Ensures trades occur only in strong trending markets, avoiding false breakouts.
✔ Volume Confirmation - Prevents trading in low-liquidity conditions by verifying volume strength.
✔ Multi-Timeframe Analysis - Displays Supertrend trends from different timeframes for enhanced trade confidence.
✔ Trailing Stop & Take Profit Options - Allows flexible risk management with stop-loss and profit-targeting mechanisms.
✔ Custom Alerts for Trade Signals - Alerts trigger on confirmed Supertrend buy/sell signals and potential trend shifts.
✔ Max Drawdown Protection - Automatically closes trades if equity drops beyond a set percentage, preventing excessive losses.
How It Works
Adaptive ATR Calculation
Instead of using a fixed ATR, this strategy calculates an adaptive ATR based on a longer-term ATR baseline.
If volatility increases, the ATR expands dynamically, ensuring stop-losses and Supertrend calculations adjust accordingly.
Supertrend Confirmation
Uses an enhanced Supertrend algorithm with adaptive ATR to determine trend direction.
If price crosses above the trendline, it signals a bullish reversal (Buy Signal).
If price crosses below the trendline, it signals a bearish reversal (Sell Signal).
ADX Trend Strength Filter
Trades are only taken when ADX is above the threshold, ensuring entry in strong trending markets.
Volume Confirmation
Uses a relative volume filter to ensure sufficient liquidity before entering trades.
Helps avoid false breakouts in low-volume conditions.
Risk Management
Trailing Stop Loss - Automatically moves the stop as price moves in favor of the trade.
Manual Stop Loss & Take Profit - Allows precise percentage-based exit points.
Max Drawdown Protection - Closes all trades if equity falls below a set threshold, reducing risk.
Multi-Timeframe Supertrend Table
Displays Supertrend signals across different timeframes (1 min, 5 min, 15 min, 1 hour, Daily)
Helps traders align their entries with higher timeframe trends for better accuracy.
Custom Alerts
Alerts notify when a new buy/sell signal appears.
Extra early warning alerts indicate potential trade setups before confirmation.
How to Use
📌 For trend-following traders:
Focus on entries in the direction of the higher timeframes.
Only enter when ADX is trending and volume confirms liquidity.
📌 For scalpers:
Use shorter timeframes (1m, 5m, 15m) for quick trades.
Adjust the ATR multiplier and Adaptive ATR sensitivity for tighter stops.
📌 For swing traders:
Use longer timeframes (1H, Daily) for more stable trends.
Enable trailing stop loss to lock in profits as the trend progresses.
Inputs & Customization
ATR Period & Adaptive ATR Sensitivity
Supertrend Multiplier
ADX Filter & Threshold
Volume Confirmation Settings
Stop Loss & Take Profit Options
Multi-Timeframe Supertrend Display
Custom Alerts
[3Commas] HA & MAHA & MA
🔷What it does: This tool is designed to test a trend-following strategy using Heikin Ashi candles and moving averages. It enters trades after pullbacks, aiming to let profits run once the risk-to-reward ratio reaches 1:1 while securing the position.
🔷Who is it for: It is ideal for traders looking to compare final results using fixed versus dynamic take profits by adjusting parameters and trade direction—a concept applicable to most trading strategies.
🔷How does it work: We use moving averages to define the market trend, then wait for opposite Heikin Ashi candles to form against it. Once these candles reverse in favor of the trend, we enter the trade, using the last swing created by the pullback as the stop loss. By applying the breakeven ratio, we protect the trade and let it run, using the slower moving average as a trailing stop.
A buy signal is generated when:
The previous candle is bearish (ha_bear ), indicating a pullback.
The fast moving average (ma1) is above the slow moving average (ma2), confirming an uptrend.
The current candle is bullish (ha_bull), showing trend continuation.
The Heikin Ashi close is above the fast moving average (ma1), reinforcing the bullish bias.
The real price close is above the open (close > open), ensuring bullish momentum in actual price data.
The signal is confirmed on the closed candle (barstate.isconfirmed) to avoid premature signals.
dir is undefined (na(dir)), preventing repeated signals in the same direction.
A sell signal is generated when:
The previous candle is bullish (ha_bull ), indicating a temporary upward move before a potential reversal.
The fast moving average (ma1) is below the slow moving average (ma2), confirming a downtrend.
The current candle is bearish (ha_bear), showing trend continuation to the downside.
The Heikin Ashi close is below the fast moving average (ma1), reinforcing bearish pressure.
The real price close is below the open (close < open), confirming bearish momentum in actual price data.
The signal is confirmed after the candle closes (barstate.isconfirmed), avoiding premature entries.
dir is undefined (na(dir)), preventing consecutive signals in the same direction.
In simple terms, this setup looks for trend continuation after a pullback, confirming entries with both Heikin Ashi and real price action, supported by moving average alignment to avoid false signals.
If the price reaches a 1:1 risk-to-reward ratio, the stop will be moved to the entry point. However, if the slow moving average surpasses this level, it will become the new exit point, acting as a trailing stop
🔷Why It’s Unique
Easily visualizes the benefits of using risk-to-reward ratios when trading instead of fixed percentages.
Provides a simple and straightforward approach to trading, embracing the "keep it simple" concept.
Offers clear visualization of DCA Bot entry and exit points based on user preferences.
Includes an option to review the message format before sending signals to bots, with compatibility for multi-pair and futures contract pairs.
🔷 Considerations Before Using the Indicator
⚠️Very important: The indicator must be used on charts with real price data, such as Japanese candlesticks, line charts, etc. Do not use it on Heikin Ashi charts, as this may lead to unrealistic results.
🔸Since this is a trend-following strategy, use it on timeframes above 4 hours, where market noise is reduced and trends are clearer. Also, carefully review the statistics before using it, focusing on pairs that tend to have long periods of well-defined trends.
🔸Disadvantages:
False Signals in Ranges: Consolidating markets can generate unreliable signals.
Lagging Indicator: Being based on moving averages, it may react late to sudden price movements.
🔸Advantages:
Trend Focused: Simplifies the identification of trending markets.
Noise Reduction: Uses Heikin Ashi candles to identify trend continuation after pullbacks.
Broad Applicability: Suitable for forex, crypto, stocks, and commodities.
🔸The strategy provides a systematic way to analyze markets but does not guarantee successful outcomes. Use it as an additional tool rather than relying solely on an automated system.
Trading results depend on various factors, including market conditions, trader discipline, and risk management. Past performance does not ensure future success, so always approach the market cautiously.
🔸Risk Management: Define stop-loss levels, position sizes, and profit targets before entering any trade. Be prepared for potential losses and ensure your approach aligns with your overall trading plan.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:BTCUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
MA1 Length: 9.
MA2 Length: 18.
MA Calculations: EMA.
Take Profit Ratio: Disable. Ratio 1:4.
Breakeven Ratio: Enable, Ratio 1:1.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +324.88 USDT (+3.25%).
Max Drawdown: -81.18 USDT (-0.78%).
Total Closed Trades: 672.
Percent Profitable: 35.57%.
Profit Factor: 1.347.
Average Trade: +0.48 USDT (+0.48%).
Average # Bars in Trades: 13.
🔷 HOW TO USE
🔸 Adjust Settings:
The default values—MA1 (9) and MA2 (18) with EMA calculation—generally work well. However, you can increase these values, such as 20 and 40, to better identify stronger trends.
🔸 Choose a Symbol that Typically Trends:
Select an asset that tends to form clear trends. Keep in mind that the Strategy Tester results may show poor performance for certain assets, making them less suitable for sending signals to bots.
🔸 Experiment with Ratios:
Test different take profit and breakeven ratios to compare various scenarios—especially to observe how the strategy performs when only the trade is protected.
🔸This is an example of how protecting the trade works: once the price moves in favor of the position with a 1:1 risk-to-reward ratio, the stop loss is moved to the entry price. If the Slow MA surpasses this level, it will act as a trailing stop, aiming to follow the trend and maximize potential gains.
🔸In contrast, in this example, for the same trade, if we set a take profit at a 1:3 risk-to-reward ratio—which is generally considered a good risk-reward relationship—we can see how a significant portion of the upward move is left on the table.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable whether you want to receive long or short signals (Entry | TP | SL), copy and paste the the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only.
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
MA 1: Fast MA Length
MA 2: Slow MA Length
MA Calc: MA's Calculations (SMA,EMA, RMA,WMA)
TP Ratio: This is the take profit ratio relative to the stop loss, where the trade will be closed in profit.
BE Ratio: This is the breakeven ratio relative to the stop loss, where the stop loss will be updated to breakeven or if the MA2 is greater than this level.
Strategy: Order Type direction in which trades are executed.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Enable the table to review the messages to be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit : Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly so that it executes and starts the trade.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Enhanced Bollinger Bands Strategy with SL/TP// Title: Enhanced Bollinger Bands Strategy with SL/TP
// Description:
// This strategy is based on the classic Bollinger Bands indicator and incorporates Stop Loss (SL) and Take Profit (TP) levels for automated trading. It identifies potential long and short entry points based on price crossing the lower and upper Bollinger Bands, respectively. The strategy allows users to customize several parameters to suit different market conditions and risk tolerances.
// Key Features:
// * **Bollinger Bands:** Uses Simple Moving Average (SMA) as the basis and calculates upper and lower bands based on a user-defined standard deviation multiplier.
// * **Customizable Parameters:** Offers extensive customization, including SMA length, standard deviation multiplier, Stop Loss (SL) in pips, and Take Profit (TP) in pips.
// * **Long/Short Position Control:** Allows users to independently enable or disable long and short positions.
// * **Stop Loss and Take Profit:** Implements Stop Loss and Take Profit levels based on pip values to manage risk and secure profits. Entry prices are set to the band levels on signals.
// * **Visualizations:** Provides options to display Bollinger Bands and entry signals on the chart for easy analysis.
// Strategy Logic:
// 1. **Bollinger Bands Calculation:** The strategy calculates the Bollinger Bands using the specified SMA length and standard deviation multiplier.
// 2. **Entry Conditions:**
// * **Long Entry:** Enters a long position when the closing price crosses above the lower Bollinger Band and the `Enable Long Positions` setting is enabled.
// * **Short Entry:** Enters a short position when the closing price crosses below the upper Bollinger Band and the `Enable Short Positions` setting is enabled.
// 3. **Exit Conditions:**
// * **Stop Loss:** Exits the position if the price reaches the Stop Loss level, calculated based on the input `Stop Loss (Pips)`.
// * **Take Profit:** Exits the position if the price reaches the Take Profit level, calculated based on the input `Take Profit (Pips)`.
// Input Parameters:
// * **SMA Length (length):** The length of the Simple Moving Average used to calculate the Bollinger Bands (default: 20).
// * **Standard Deviation Multiplier (mult):** The multiplier applied to the standard deviation to determine the width of the Bollinger Bands (default: 2.0).
// * **Enable Long Positions (enableLong):** A boolean value to enable or disable long positions (default: true).
// * **Enable Short Positions (enableShort):** A boolean value to enable or disable short positions (default: true).
// * **Pip Value (pipValue):** The value of a pip for the traded instrument. This is crucial for accurate Stop Loss and Take Profit calculations (default: 0.0001 for most currency pairs). **Important: Adjust this value to match the specific instrument you are trading.**
// * **Stop Loss (Pips) (slPips):** The Stop Loss level in pips (default: 10).
// * **Take Profit (Pips) (tpPips):** The Take Profit level in pips (default: 20).
// * **Show Bollinger Bands (showBands):** A boolean value to show or hide the Bollinger Bands on the chart (default: true).
// * **Show Entry Signals (showSignals):** A boolean value to show or hide entry signals on the chart (default: true).
// How to Use:
// 1. Add the strategy to your TradingView chart.
// 2. Adjust the input parameters to optimize the strategy for your chosen instrument and timeframe. Pay close attention to the `Pip Value`.
// 3. Backtest the strategy over different periods to evaluate its performance.
// 4. Use the `Enable Long Positions` and `Enable Short Positions` settings to customize the strategy for specific market conditions (e.g., only long positions in an uptrend).
// Important Notes and Disclaimers:
// * **Backtesting Results:** Past performance is not indicative of future results. Backtesting results can be affected by various factors, including market volatility, slippage, and transaction costs.
// * **Risk Management:** This strategy is provided for informational and educational purposes only and should not be considered financial advice. Always use proper risk management techniques when trading. Adjust Stop Loss and Take Profit levels according to your risk tolerance.
// * **Slippage:** The strategy takes into account slippage by specifying a slippage parameter on the `strategy` declaration. However, real-world slippage may vary.
// * **Market Conditions:** The performance of this strategy can vary significantly depending on market conditions. It may perform well in trending markets but poorly in ranging or choppy markets.
// * **Pip Value Accuracy:** **Ensure the `Pip Value` is correctly set for the specific instrument you are trading. Incorrect pip value will result in incorrect stop loss and take profit placement.** This is critical.
// * **Broker Compatibility:** The strategy's performance may vary depending on your broker's execution policies and fees.
// * **Disclaimer:** I am not a financial advisor, and this script is not financial advice. Use this strategy at your own risk. I am not responsible for any losses incurred while using this strategy.